Difference between revisions of "SetPlayerControls - Actor"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Rhavlovick
m (1 revision: Clobber re-import by Henning)
 
imported>Dog
Line 21: Line 21:
Puppet.SetPlayerControls(true)
Puppet.SetPlayerControls(true)
</source>
</source>
Note: It seems this function does not work at all. [http://forums.bethsoft.com/topic/1348962-setplayercontrols-and-papyrus/]


== See Also ==
== See Also ==
*[[Actor Script]]
*[[Actor Script]]
*[[GetPlayerControls - Actor]]
*[[GetPlayerControls - Actor]]

Revision as of 09:53, 16 February 2012

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)

Note: It seems this function does not work at all. [1]

See Also