SetPlayerControls - Actor

From the CreationKit Wiki
Revision as of 15:27, 18 October 2011 by imported>Rhavlovick (1 revision: Clobber re-import by Henning)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

Function SetPlayerControls(bool abControls) native

Parameters

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

Return Value

None.

Examples

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

See Also