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

Description

Wiki Description

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

Documentation Comment

Queries whether this actor receives player input


Caveats


Examples

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

Auto-Generated Example

bool returnedValue = myActor__toCallFunctionOn.GetPlayerControls()

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.