Find Spawn Point
Overview
Get a random spawn point.
Actions
|
Random Int
We want to select a random child of SpawnPoint.
So we pick a random number between 0 and numSpawnPoints.
And store it in spawnPointIndex.
|
|
Get Child Num
Get the child specified by spawnPointIndex.
And store in spawnPoint.
|
Tags:
Last modified on 12/16/2010 3:53 AM by User.