Adds a spawn point for a Wasp Camera to a level using a locator.
Scope
This command should be called in a level's initialisation script.
Syntax
MFK
Lua
AddSpawnPointByLocatorScript( spawn_point_name, state_prop_name, unused_instance_name, locator_name, radius, unused_timeout );Game.AddSpawnPointByLocatorScript( spawn_point_name, state_prop_name, unused_instance_name, locator_name, radius, unused_timeout )- spawn_point_name: The name of this spawn point. Should be unique.
- state_prop_name: The name of the state prop to use.
- Typically,
beecamera.
- Typically,
- unused_instance_name: Unused.
- locator_name: The name of a Generic Locator.
- radius: The radius of the spawn point's sphere trigger.
- unused_timeout: Unused.
Examples
MFK
Lua
// Example from Radical's scripts/missions/level01/leveli.mfk
AddSpawnPointByLocatorScript("w_lemon", "beecamera", "Shelley", "w_lemon", "15.0", "60");-- Example from Radical's scripts/missions/level01/leveli.mfk
Game.AddSpawnPointByLocatorScript("w_lemon", "beecamera", "Shelley", "w_lemon", "15.0", "60")