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

SelectRegInArea

From AGEWiki

Jump to: navigation, search

SelectRegInArea

Syntax  

SelectRegInArea = AreaUID[;CondSkip][;NotEnemy][;OpenHarbor]
[;OwnedVPCities][;OwnedObjCities][;OwnedCities]
[;OwnedCitiesEmptyFirst][;Squared][;WildTerrains]

Description

Selects a single region in the specified area, subject to the limiting optional parameters

Note: All the parameters would need to be on one line (one cell in DB) but are shown as above for documentation formatting.
Note: All parameters in [ ] are optional.



 

Parameters

AreaUID

Valid alias for the area to be searched

[;CondSkip]

Do not execute this command if the Region selection list already contains an entry

[;NotEnemy]

Only select from regions with no enemy units present

[;OpenHarbor]

Only select from regions with an unblockaded or unfrozen port

[;OwnedObjCities][;OwnedVPCities]

Only select from regions that are Objectives or Strategic Cities

[;OwnedCities]

Only select from regions that are in faction's control

[;OwnedCitiesEmptyFirst]

Only select from regions with controlled but "empty" cities (no garrison)

[;Squared]

All selected regions which have a city have a probability to be picked = to their structure level. If squared, you square the structure level.

{{{param10}}}

{{{param10desc}}}

[;WildTerrains]

Only select from regions with "Wild" Civ_level as defined in the Citiesxxx.ini of a Setup

Forums