SetPlayerControls - Actor

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Actor Script

Set the actor as being controlled (or not controlled) by the player's controls.

Syntax[edit | edit source]

Function SetPlayerControls(bool abControls) native

Parameters[edit | edit source]

  • abControls: Whether this actor is controlled by the player's controls or not

Return Value[edit | edit source]

None.

Examples[edit | edit source]

; Control the puppet with the player's controls
Puppet.SetPlayerControls(true)

See Also[edit | edit source]