GetPlayerControls - Actor

From Creation Kit
Jump to: navigation, search

Member of: Actor Script

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

Syntax

bool Function GetPlayerControls() native

Parameters

None.

Return Value

If this actor is controlled by the player controls directly.

Examples

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

See Also