PreventionSpawnSystem

Documents the PreventionSpawnSystem class and its functions.

triangle-exclamation

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

Last updated