PreventionSpawnSystem

Documents the PreventionSpawnSystem class and its functions.

NOT DOCUMENTED We currently don't have information on how these functions work. They are being documented here for visibility.

Invoking PreventionSpawnSystem

To invoke the prevention spawn system, use the following Global function:

pss = Game.PreventionSpawnSystem()

Sub-functions

GetNumberOfSpawnedPreventionUnits

GetNumberOfSpawnedPreventionUnits() : Int32;

RequestDespawn

RequestDespawn(entityID : EntityID);

RequestDespawnPreventionLevel

RequestDespawnPreventionLevel(preventionLevel : Uint32);

RequestSpawn

RequestSpawn(recordID : TweakDBID, preventionLevel : Uint32, spawnTransform : WorldTransform) : EntityID;

SpawnCallback

SpawnCallback(spawnedObject : ref:GameObject);

Last updated