GetPlayerControls - Actor

From the CreationKit Wiki
Jump to navigation Jump to search

Member of: Actor Script

Gets this whether this actor is being directly controlled by the player (as opposed to AI)

Syntax[edit | edit source]

bool Function GetPlayerControls() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

If this actor is controlled by the player controls directly.

Examples[edit | edit source]

; Get whether the puppet is controlled by the player
if Puppet.GetPlayerControls()
  Debug.Trace("Puppet is controlled by the player")
endIf

See Also[edit | edit source]