Whether probably to make so that the zombie a bot teleported to the player which it attacks, time in 10 seconds?
Forum
CS2D Scripts Teleport zombieTeleport zombie
14 replies 1
Whether probably to make so that the zombie a bot teleported to the player which it attacks, time in 10 seconds?
DO NOT use translators...
Edit:Or he wants that the zombie teleports to him in the start and only after 10 seconds it starts to attack him
Both is possible...
But we need more information!
teleport with the weapon is "claw"?
I have a script like this :S
edited 1×, last 13.12.11 05:29:11 pm
Autumn has written
It is necessary that the bot (in zombie mod) teleported to the player which attacks it, but so that teleportation could be made time in 10 seconds.
You want to? Just for you (Admin) or for all players?
I do not know what you are willing but ...
I give here what i have understood correctly ...
Sorry my English, My From France
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
function Array(size,value) local array = {} for i = 1, size do array[i]=value end return array end mx = Array(32,0) my = Array(32,0) timer(150,"requestdata","",0) function requestdata() reqcld(0,2) end addhook("clientdata","clientdata") function clientdata(id,mode,x,y) if mode == 2 then mx[id] = x my[id] = y end end addhook("attack","client") function client(id) if player(id,"weapon") == 78 then parse("setpos "..id.." "..mx[id].." "..my[id].."") end end
Autumn has written
It not absolutely that...In your script teleportation occurs in that place where specifies the mouse.It is necessary that the bot simply teleported to the player which attacks it,but that teleported occurred no more than 1 time in 10 seconds
Okay, wait, so basically you want the zombie to teleport to the player who attacked it? Once every ten seconds for how long?
EngiN33R has written
Okay, wait, so basically you want the zombie to teleport to the player who attacked it? Once every ten seconds for how long?
Autumn has written
How long?... hmm. While him won't kill!
But it makes no sense, completely. What for would someone need this?
oxytamine has written
But it makes no sense, completely. What for would someone need this?
So some players wont camp in secret spots which are totaly dark.
1