Forum

> > CS2D > Scripts > teleport with spawnobject
Forums overviewCS2D overview Scripts overviewLog in to reply

English teleport with spawnobject

1 reply
To the start Previous 1 Next To the start

old teleport with spawnobject

iii
User Off Offline

Quote
I have a question with spawnobject.
how i have to set the parameter so that the blue port teleports a player too the blue one and the orange one too the orange

this is my script: but the player only went between the first red and the first blue. (3,3-3,9)
1
2
3
4
parse("spawnobject 22 3  3 0 0 0 0")
parse("spawnobject 22 11 9 0 0 0 0")
parse("spawnobject 23 3  9 0 0 0 0")
parse("spawnobject 23 11 3 0 0 0 0")

the spawnobjet parameters are: type,x,y,rot,mode,team,player

if there are any other ways without "setpos" pls tell me and sry for my bad english

Edit: i will make it with setpos, i think it is not possible to tele between blue/blue
edited 1×, last 25.06.13 10:45:20 pm

old Re: teleport with spawnobject

Alistaire
User Off Offline

Quote
I believe there's a limit to teleporters per player, of exactly one. This means that you'll either have to set the player on each of them, or that you'll have to fake teleporters by using cs2d cmd setpos.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview