Difference between revisions of "SetPlayerAIDriven - Game"
Jump to navigation
Jump to search
imported>Jlundin |
imported>Terra Nova2 |
||
Line 28: | Line 28: | ||
</source> | </source> | ||
== Notes == | |||
* Some packages are not run with this function. So far known ones are Travel and SitTarget. More testing underway.. | |||
== See Also == | == See Also == | ||
*[[Game Script]] | *[[Game Script]] |
Revision as of 17:33, 10 April 2014
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)
Notes
- Some packages are not run with this function. So far known ones are Travel and SitTarget. More testing underway..