Cyber Engine Tweaks
Modding
Dictionary
Other
External docs
Other Wikis
Powered By GitBook
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:
1
pss = Game.PreventionSpawnSystem()
Copied!

Sub-functions

GetNumberOfSpawnedPreventionUnits

GetNumberOfSpawnedPreventionUnits
Info & Usage
1
GetNumberOfSpawnedPreventionUnits() : Int32;
Copied!

RequestDespawn

RequestDespawn
Info & Usage
1
RequestDespawn(entityID : EntityID);
Copied!

RequestDespawnPreventionLevel

RequestDespawnPreventionLevel
Info & Usage
1
RequestDespawnPreventionLevel(preventionLevel : Uint32);
Copied!

RequestSpawn

RequestSpawn
Info & Usage
1
RequestSpawn(recordID : TweakDBID, preventionLevel : Uint32, spawnTransform : WorldTransform) : EntityID;
Copied!

SpawnCallback

SpawnCallback
Info & Usage
1
SpawnCallback(spawnedObject : ref:GameObject);
Copied!
Last modified 9mo ago