Difference between revisions of "SetPlayerAIDriven - Game"
Jump to navigation
Jump to search
imported>Terra Nova2 |
imported>Terra Nova2 m (Removed my own note as it is no longer accurate.) |
||
Line 28: | Line 28: | ||
</source> | </source> | ||
== See Also == | == See Also == | ||
*[[Game Script]] | *[[Game Script]] |
Latest revision as of 01:44, 4 August 2014
Member of: Game Script
Set the state of the player as AI driven to allow for the player run packages
Syntax[edit | edit source]
Function SetPlayerAIDriven(bool abAIDriven = true) native global
Parameters[edit | edit source]
- abAIDriven: Specifies whether to turn the AI flag on or off
- Default: True
Return Value[edit | edit source]
None
Examples[edit | edit source]
; Turn on the AI driven flag
Game.SetPlayerAIDriven()
; Turn off the AI driven flag
Game.SetPlayerAIDriven(false)