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

CountCtrlAreas

From AGEWiki

Jump to: navigation, search

CountCtrlAreas

Syntax  

CountCtrlAreas = esvIntVar(x); Area1; Area2; Area3....

Description

For the Faction currently selected, count the controlled VP locations in an Area, compare to the total VP in that area, repeat for all areas, and store the total of completely controlled areas in esvIntVar(x).

Example  

CountCtrlAreas = esvIntVar0; $New_England; $Middle_States; $South_Central; $Deep_South

Check each area listed, and store a value of 1 for each area where all VP locations are Controlled by the active faction (value = 1 if only one area controlled, = 2 if two are totally controlled, etc.)

Note: the value in esvIntVar(x) can then be used in ensuing commands that allow it.  
See Probability


 

Parameters

esvIntVar(x)

The variable used to store the total of controlled areas

Area(s)

List of areas to be checked

Forums