PDA

View Full Version : Deathrun spawns



Killer.Pro
6th August 2012, 07:09
Hi people...
I recently made a deathrun map and all traps are working fine .... the only problem is that i don't know which spawns i need to use for it...
Helpful reply would be nice :D
If any of you guys made a deathrun map plz help me out here its my first time :D
thanks

BaX Meow
6th August 2012, 16:37
main()
{

entTransporter = getentarray("teleporta","targetname");
if(isdefined(entTransporter))
{
for(lp=0;lp<entTransporter.size;lp=lp+1)
entTransporter[lp] thread Transporter1();
}
}

Transporter1()
{
entTarget = getent(self.target, "targetname");
while(1)
{
self waittill("trigger", player);

wait (0.00000000000000000000000000000000000000000000000 0000000000001);
if(player.pers["team"] == "axis")
{
player setorigin(entTarget.origin);
player setplayerangles(entTarget.angles);
}
wait (0.00000000000000000000000000000000000000000000000 0000000000001);
}
}


THIS IS MY AXIS SCRIPT IF U WANT U CAN USE IT ( THIS SCRIPT TELEPORT AXIS TO PLACE WHERE U PASTE ORIGIN )

kung foo man
6th August 2012, 17:24
Hey Bax!

He needs to know what spawn he needs in radion for activator/jumper.

Killer.Pro
6th August 2012, 17:40
Ok i get it bax and thank you ... I see this will teleport axis player to other side but for jumper should i use TDM spawn?

Killer.Pro
7th August 2012, 03:38
Ok i got it working.... spawns are working now thanxs v much bax And are you sure there are so many 0 zeros where you put wait -.^ cuz they gave me a bad syntax error and i removed them and put only 0.00001 but its still working..... thanks :D

kung foo man
7th August 2012, 06:11
Just understood that its a working solution. :)

You may thank him with the "Thanks" button! :D