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

Jump to: navigation, search

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

AgentUID

The UID Alias of the agent definition, as per the XLS file (aia files once exported)

LeaderUID or literal 'cuSubUnit' string

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).

Regions UID1 UID2 UID3 ...

The list of objective region aliases for the agent.

Forums