Game Development Community

Set Player's Intial Position

by Brandon Fogerty · in Technical Issues · 06/07/2007 (5:02 pm) · 5 replies

Hi. How do you set the player's intial position in the Mission editor. I looked at the docs but found nothing about this. Thanks in advance!

#1
06/07/2007 (5:36 pm)
Also, where can I find all the properties for the player object for scripting purposes. I can't seems to find any organizaed torque script documentation. Thanks in advance!
#2
06/07/2007 (7:12 pm)
Also, where can I find all the properties for the player object for scripting purposes. I can't seems to find any organizaed torque script documentation. Thanks in advance!
#3
06/07/2007 (8:44 pm)
You can use the .SetTransform method or in the world editor you can create a spawn point and the player will just spawn there.

http://www.garagegames.com/docs/tge/general/pt01.php

If you look in there you should find all the properties to the player datablock.
#4
06/07/2007 (9:18 pm)
How do you create a spawn point in the world editor?
#5
06/08/2007 (7:04 am)
There is actually already one there, it's the giant globe, if you launch the tutorial.base mission you will see this large globe hanging in the air, that's your spawn point. You can move it around anywhere you want. If I'm not mistaken there is a default spawn point even on a blank map.