PlayerSystem

Documents the PlayerSystem class and its functions.

triangle-exclamation

Invoking PlayerSystem

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

ps = Game.PlayerSystem()

Sub-functions

FindPlayerControlledObjects

FindPlayerControlledObjects(position : Vector4, radius : Float, includeLocalPlayers : Bool, includeRemotePlayers : Bool, out outPlayerGameObjects : array:ref:GameObject) : Uint32;

GetLocalPlayerControlledGameObject

GetLocalPlayerControlledGameObject() : ref:GameObject;

GetLocalPlayerMainGameObject

GetLocalPlayerMainGameObject() : ref:GameObject;

GetPossessedByJohnnyFactName

IsCPOControlSchemeForced

IsInFreeCamera

LocalPlayerControlExistingObject

OnGameRestored

OnLocalPlayerChanged

OnLocalPlayerPossesionChanged

RegisterPlayerPuppetAttachedCallback

RegisterPlayerPuppetDetachedCallback

SetFreeCameraTransform

UnregisterPlayerPuppetAttachedCallback

UnregisterPlayerPuppetDetachedCallback

Last updated