Due to a sudden burst in spammer activity, account creation has been temporarily disabled. Sorry for the inconvenience to any new potential contributors.
Registry
From AGEWiki
Registries are a series of user variables that allow enhanced evaluation and comparison of multiple values.
The avaiable Commands are:
As of October 25, 2011, the only commands that can store vaues into a Registry are:
An example, taken from PON:
Evaluate the quantity of Land based elements for several nations, put each value into a registry, then cmpare the $ITA value (Registry 5) to the best one of the others (using the RegSum|Best 1 parameter)
- SelectFaction = $ITA
- SelectRegion = $Piemonte
- StartEvent = evt_nam_ITA_Mission_LargestArmy_GoodProgress|10|2|evt_txt_ITA_Mission_LargestArmy_GoodProgress|Event-img_CMN_ArmySuccess1|$Piemonte|$Snd_ITA_AnthemWin
- Conditions
- MinDate = 1850/01/01
- MaxDate = 1860/12/31
- TurnIndex = 4
- ActorEnabled = $gmaOptionNotify;ITA_Mission_LargestArmy
- SelectFaction = $FRA
- RegInit = 1
- SelectSubUnits = Area $Continents_Europe;FactionTags FRA;Domains $Land
- SelectFaction = $GER
- RegInit = 2
- SelectSubUnits = Area $Continents_Europe;FactionTags GER;Domains $Land
- SelectFaction = $GBR
- RegInit = 3
- SelectSubUnits = Area $Continents_Europe;FactionTags GBR;Domains $Land
- SelectFaction = $AUS
- RegInit = 4
- SelectSubUnits = Area $Continents_Europe;FactionTags AUS;Domains $Land
- SelectFaction = $ITA
- RegInit = 5
- SelectSubUnits = Area $Continents_Europe;FactionTags ITA;Domains $Land
- RegInit = 6
- RegSum = Registry 1 2 3 4;Best 1
- RegEval = 5;>;6
- RegDeactivate = NULL
- Actions
- GenMsg
- ChgEvtOccurs = evt_nam_ITA_Mission_LargestArmy_Tracker;ChgEventOccurs;1
- EndEvent