SetPlayerAIDriven - Game

Member of: Game Script

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

SyntaxEdit

Function SetPlayerAIDriven(bool abAIDriven = true) native global

ParametersEdit

  • abAIDriven: Specifies whether to turn the AI flag on or off
    • Default: True

Return ValueEdit

None

ExamplesEdit

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


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

See AlsoEdit