Wiki

Case Status
Log In

Wiki

 
Home ยป Samples»Swamp»DemonManager FSM»Find Spawn Point
Index
Navigation
Community Wiki

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.

  • RSS Feed