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

EvalRgnOwned

From AGEWiki

Jump to: navigation, search

EvalRgnOwned

Syntax  

EvalRgnOwned = RegionUID  [;NOT] [;FriendToo] [;UpdateSel]

Description

TRUE if current selected Faction owns (Controls) the specified Region

Note: To be TRUE, any structures in the region must also be owned.  Thus high Military
      Control in a region where a besieged structure is still controlled by another
      faction will return FALSE.

Example  

EvalRgnOwned = $Boston; NOT

TRUE if current selected Faction does not control the strutcture in Boston region.


 

Parameters

RegionUID

Alias of the target Region

[;NOT]

Optional. Reverses the result to be TRUE if the Faction does NOT own the Region

[;FriendToo]

(Diplomacy Rule must be Simple or Complex, and not set to None (VGN & ROP only for now)) Optional. Tests if the Region is owned by a Friend of the Faction.

[;UpdateSel]

Optional. If present, the faction and region in selection are updated, if the command is evaluated as true (NOT doesn't work here).

Forums