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

EvalColStatusArea

From AGEWiki

Jump to: navigation, search

EvalColStatusArea

Syntax  

EvalColStatusArea = <ColAreaUID>;<Operator>;<Status>

Description

Evaluate the status of a given colonial area (as per the list in GameData\ColonialAreas.ini). If there is no faction in selection (this can be achieved by doing a SelectFaction with the CMN tag), then this will be an absolute test, otherwise this will be relative to the faction in selection.

Examples:

SelectFaction = FRA
EvalColStatusArea = $Colony_Algeria|>=|$colProtectorate
 
  Will test if Algeria is under French Protectorate.


SelectFaction = CMN
EvalColStatusArea = $Colony_Egypt|>=|$colInfluenced
 
  Will test if Egypt is under the influence of any nation.

See also SetColStatusArea



 

Parameters

<ColAreaUID>

Valid Area Alias

<Operator>

One of:

=, <, >, <=, >=
<Status>

Valid value of status, as defined in GameData\ColonialAreas.ini

Valid values for VGN are:
$colUnknown = -3
$colWild = -2
$colUnclaimed = -1
$colInfluenced = 0
$colProtectorate = 1
$colColony = 2
$colDominion = 3
$colVassal = 3
Forums