Background for Fallout 4
Member of the Game script
voidfunctionSetPlayerAIDriven(boolabAIDriven=true)NativeGlobal

Description

Wiki Description

Set the state of the player as AI driven to allow for the player run packages

Documentation Comment

Enables or disables the AI driven flag on Player


Caveats


Parameters

boolabAIDriven=true

CK Wiki Description

Specifies whether to turn the AI flag on or off

  • Default:True

Examples

; Turn on the AI driven flag
Game.SetPlayerAIDriven()
; Turn off the AI driven flag
Game.SetPlayerAIDriven(false)

Auto-Generated Example

bool myBool__abAIDriven

Game.SetPlayerAIDriven(myBool__abAIDriven)

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.