CompanionSystem

Documents the CompanionSystem 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 CompanionSystem

To invoke the companion system, use the following Global function:

comps = Game.GetCompanionSystem()

Sub-functions

DespawnAll

DespawnAll();

DespawnSubcharacter

DespawnSubcharacter(recordID : TweakDBID);

GetSpawnedEntities

GetSpawnedEntities(out entities : array:wref:Entity, optional recordID : TweakDBID);

SpawnSubcharacter

SpawnSubcharacter(recordID : TweakDBID, offset : Float, offsetDir : Vector3);

SpawnSubcharacterOnPosition

SpawnSubcharacterOnPosition(recordID : TweakDBID, pos : Vector3);

Last updated