Due to a sudden burst in spammer activity, account creation has been temporarily disabled. Sorry for the inconvenience to any new potential contributors.

AI.SetParams

From AGEWiki

(Difference between revisions)
Jump to: navigation, search
(add separators to parameter pairs)
 
Line 3: Line 3:
| type =
| type =
| cat =
| cat =
-
| syntax = <Param1 Value1> [;<Param2 Value 2>] [;<Param3 Value 3>] ...
+
| syntax = <Param1{{!}}Value1> [;<Param2{{!}}Value 2>] [;<Param3{{!}}Value 3>] ...
| description =A generic command that can be used to store an exported variable used by the AI, in a given algorithm.  
| description =A generic command that can be used to store an exported variable used by the AI, in a given algorithm.  
Line 13: Line 13:
| example2 =
| example2 =
| example2-description =
| example2-description =
-
| param1 =Param[x] Value[x]
+
| param1 =Param[x]{{!}}Value[x]
| param1desc = Valid parameter name from a defined AI exported variable set, paired with the new value.
| param1desc = Valid parameter name from a defined AI exported variable set, paired with the new value.
| param2 =
| param2 =

Latest revision as of 15:09, 30 August 2012

AI.SetParams

Syntax  

AI.SetParams = <Param1|Value1> [;<Param2|Value 2>] [;<Param3|Value 3>] ...

Description

A generic command that can be used to store an exported variable used by the AI, in a given algorithm.

Valid exported variable sets:

Land Region Value algorithm
Land Resupply algorithm



 

Parameters

Param[x]|Value[x]

Valid parameter name from a defined AI exported variable set, paired with the new value.

Forums