Due to a sudden burst in spammer activity, account creation has been temporarily disabled. Sorry for the inconvenience to any new potential contributors.
AI.AddLeaderAgent
From AGEWiki
(Difference between revisions)
(Created page with "{{ scriptcommand | name =AI.AddLeaderAgent | type = | cat = | syntax = <AgentUID>; <LeaderUID>; <Regions UID1 UID2 UID3 ...> | description = Addign an AI Agent to ...") |
|||
Line 12: | Line 12: | ||
| param1 =AgentUID | | param1 =AgentUID | ||
| param1desc = The UID [[Alias]] of the agent definition, as per the XLS file (aia files once exported) | | param1desc = The UID [[Alias]] of the agent definition, as per the XLS file (aia files once exported) | ||
- | | param2 =LeaderUID | + | | param2 =LeaderUID or literal 'cuSubUnit' string |
- | | param2desc = | + | | param2desc = If you specify literally 'cuSubUnit', this will be the last SubUnit in selection (which should be a leader), using for example SelectSubUnits. Otherwise, this is the UID [[Alias]] of the ''model'' of the leader that will host the agent. If the leader was promoted, this will work too (specify the lowest rank to be safe). |
| param3 = Regions UID1 UID2 UID3 ... | | param3 = Regions UID1 UID2 UID3 ... | ||
| param3desc = The list of objective [[region]] aliases for the agent. | | param3desc = The list of objective [[region]] aliases for the agent. |
Latest revision as of 08:04, 13 March 2013
AI.AddLeaderAgent | |||
Syntax AI.AddLeaderAgent = <AgentUID>; <LeaderUID>; <Regions UID1 UID2 UID3 ...> Description Addign an AI Agent to a leader For now, the agent can't be removed, but it can go inactive by itself, depending on its settings.
|
Parameters
The UID Alias of the agent definition, as per the XLS file (aia files once exported)
If you specify literally 'cuSubUnit', this will be the last SubUnit in selection (which should be a leader), using for example SelectSubUnits. Otherwise, this is the UID Alias of the model of the leader that will host the agent. If the leader was promoted, this will work too (specify the lowest rank to be safe).
The list of objective region aliases for the agent. |