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

Revision as of 08:21, 10 January 2011 by Pocus (Talk | contribs)
Jump to: navigation, search

EvalRgnOwned

Syntax  

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

Description

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

Example  

EvalRgnOwned = $Boston; NOT

TRUE if current selected Faction does not control Boston.


 

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 don't work here).

Forums