Forum

> > CS2D > Scripts > Teleport zombie
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Teleport zombie

14 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Teleport zombie

Autumn
User Off Offline

Zitieren
Hello all!
Whether probably to make so that the zombie a bot teleported to the player which it attacks, time in 10 seconds?

alt Re: Teleport zombie

KimKart
Idiot Off Offline

Zitieren
He wants that a bot(in zombie mod)teleports to him in 10 seconds when the round starts or he pushes a trigger.

Edit:Or he wants that the zombie teleports to him in the start and only after 10 seconds it starts to attack him

alt Re: Teleport zombie

Jynxxx
User Off Offline

Zitieren
so what he wants is to press a button to make a zombie spawn at his location or teleports to him when the rounds begins, right.

alt ....

sheeL
User Off Offline

Zitieren
What did he whether

teleport with the weapon is "claw"?
I have a script like this :S
1× editiert, zuletzt 13.12.11 17:29:11

alt )

Autumn
User Off Offline

Zitieren
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.

alt Re: Teleport zombie

sheeL
User Off Offline

Zitieren
user Autumn hat geschrieben
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
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

alt Re: Teleport zombie

Autumn
User Off Offline

Zitieren
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

alt Re: Teleport zombie

EngiN33R
Moderator Off Offline

Zitieren
user Autumn hat geschrieben
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?

alt Re: Teleport zombie

oxytamine
User Off Offline

Zitieren
At first I lol'd, but then I serious'd.
user EngiN33R hat geschrieben
Okay, wait, so basically you want the zombie to teleport to the player who attacked it? Once every ten seconds for how long?

user Autumn hat geschrieben
How long?... hmm. While him won't kill!

But it makes no sense, completely. What for would someone need this?

alt Re: Teleport zombie

KimKart
Idiot Off Offline

Zitieren
user oxytamine hat geschrieben
But it makes no sense, completely. What for would someone need this?


So some players wont camp in secret spots which are totaly dark.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht