Background for Fallout 4
Member of the Actor script
voidfunctionSetPlayerControls(boolabControls)Native

Description

Wiki Description

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

Documentation Comment

Set/reset whether player input being sent to the actor


Caveats


Parameters

boolabControls

CK Wiki Description

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


Examples

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

Auto-Generated Example

bool myBool__abControls

myActor__toCallFunctionOn.SetPlayerControls(myBool__abControls)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.