Due to a sudden burst in spammer activity, account creation has been temporarily disabled. Sorry for the inconvenience to any new potential contributors.
CheckAILevel
From AGEWiki
(Difference between revisions)
(Created page with '{{ scriptcommand | name = CheckAILevel | syntax = AILevel | description = Check for AI level greater than or equal to the value | example = 2 | example-description = TRUE if the …') |
m |
||
Line 21: | Line 21: | ||
| param3desc = | | param3desc = | ||
}} | }} | ||
+ | [[Category:AI Modding]] |
Latest revision as of 11:06, 29 April 2010
CheckAILevel | |||
Syntax CheckAILevel = AILevel Description Check for AI level greater than or equal to the value Example CheckAILevel = 2 TRUE if the AI difficulty is set Normal or higher Important note: the test is 'is the player AI level at least equal to'. So you can't check if a player is human, but you can check if a player is AI, by testing CheckAILevel = 1 For checking if the the player is human, use CheckIsPlayer.
|
Parameters
One of
|