Thread
: [Solved]
Possible to temporary block bots from bypassing "blocked path"
View Single Post
finishlast
Senior Member
Join Date: Nov 2018
Location: In Reno with the vitamin D.
10-31-2020 , 09:15 Re: Possible to temporary block bots from bypassing "blocked path"
#
3
Oh that actually seems to do the trick, thanks a lot!
Do you know if this cvar can be changed midgame and then back during a map?
They seem to just stand there now trying to get past but they can't, that is fairly good enough.
SetConVarInt(FindConVar("sb_unstick"), 0);
and after the event
SetConVarInt(FindConVar("sb_unstick"), 1);
******
My idea now instead of setting the cvar on map start is to set it when they enter a field around the container lets say 100 px in front of it.
Anyone knows how to set this cvar via an "area"-switch or something? Like when they get near to the container?
Attached Files
Get Plugin
or
Get Source
(l4d_river01_docks_pimp2.sp - 158 views - 13.2 KB)
__________________
L4D NoSmoking / Prevent smoker from smoking last survivor.
L4D Tank announce and lock door / locks safehouse on tankspawn, unlocks on tank death
L4D Boatstyle cars
L4D Death Toll Train Bridge Event
L4D Death Toll tunnel block crescendo
Other L4D plugins
Last edited by finishlast; 10-31-2020 at
12:22
.
finishlast
View Public Profile
Send a private message to finishlast
Find More Posts by finishlast