SetPlayerAIDriven - Game

From the CreationKit Wiki
Revision as of 01:44, 4 August 2014 by imported>Terra Nova2 (Removed my own note as it is no longer accurate.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Game Script

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

Syntax

Function SetPlayerAIDriven(bool abAIDriven = true) native global

Parameters

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

Return Value

None

Examples

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


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

See Also