Game Development Community

Question about pickSpawnPoint

by Michael Lai · in Torque Game Engine Advanced · 04/29/2009 (3:55 pm) · 1 replies

Hello all, I have some question regarding to the pickSpawnPoint() in the game.cs. I've searched everywhere and found nothing that can give me some hint to how to do what I want to do. By the way I only have access to the public forums, not the private forum...

what I want is to be able to pick a spawn point out of a list/group of spawn points with the pickSpawnPoint(), and I also wanted to do the following:
Player enter a trigger, which then will stop the player from spawning form the original spawn point after death, and is randomly selecting out of 4 spawn points in the area near the trigger.

I can't seem to get any of those to work, so can anyone help?

I'm not that fluent in the TorqueScript, and I haven't been that familiar with the scripting part of the Torque Game Engine and Torque Game Engine Advanced. Hope someone can help giving me some idea to how to do it...

About the author

Recent Threads


#1
05/01/2009 (8:54 pm)
im not exactly sure what you mean by "which then will stop the player from spawning form the original spawn point after death" cause you cant spawn if you are alive still. but basically you create a group of spawn points and in the pickSpawnPoint change %groupName = "MissionGroup/GROUP_YOU_MADE";