is there any way to keep his distance away from the player by (lua) adding some lines in or create a new script?. if can please show the script.
this is the script that makes bot follow
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
2
3
4
5
6
7
8
9
10
11
12
13
14
15
addhook("second","vaimode")
function vaimode()
vai_mode[2]=7
vai_smode[2]=1
end
addhook("always","goaway")
function goaway()
if vai_mode[2]==7 and vai_smode[2]==1 then
if player(1,"tilex")==player(2,"tilex") and player(1,"tiley")==player(2,"tiley") then
vai_mode[2]=0
vai_smode[2]=0
end
end
end
the people who helps will get a cookie.
sorry for asking way to many questions but. i need it for my mod, based on instense singleplayer and multiplayer mod for cs2d.
edited 1×, last 29.03.13 12:25:39 pm
keep bot his distance from player
1 
Offline