Game Development Community

Realm Wars start 'teleporter

by Henry Phuong · in Technical Issues · 02/19/2008 (2:30 pm) · 1 replies

Hi, just wondering if anyone knows where the code is that does the teleporter thing that is in the position of the player when the player is dropped into the game in realm wars? I want to add it to my game to modify of course. Ive tried searching through the scripts but cant find it, perhaps i missed it? anyone know where it is?

#1
02/20/2008 (10:38 am)
You could just use the script command setTransform() which takes 7 arguments, the first three is the position, the later three is the rotation coeficent(how do you spell this word?) for each axis, and the last argument is how much you rotate each axis multiplied with each coeficent stated earlier. I am not 100 on this, so check the doucumentation on setTransform() before you get tampering =)

Although i think that in realmwars, they use a object called spawnSphere, and have the player spawn in close proximity to said sphere. If you check the mission file, there should be an entry somewhere which says spawnSphere. Just guessing here though