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

ChgEvtOccurs

From AGEWiki

Jump to: navigation, search

ChgEvtOccurs

Syntax  

ChgEvtOccurs = EventName; OccParam; Value

Description

Changes the allowed occurences of a given event or changes the counter how often the event already occured.

The new value will be the mathematical difference between the starting value and the value you enter [negative value will decrease occurances]

See also SetEvtOccurs

Example  

ChgEvtOccurs = evt_nam_CSA_ChapmanPlot1863Succeeds;CuOccurs;2

This increases the count for the event evt_nam_CSA_ChapmanPlot1863Succeeds by two occurrences.  

ChgEvtOccurs = evt_nam_CSA_FranceDeclaresWar;MaxOccurs;1

This increases the maximum times that the event evt_nam_CSA_FranceDeclaresWar can occur by one.

Note: To make an event dormant use SetEvtOccurs to set MaxOccurs to 0.

 

Parameters

EventName

String; Name (alias) of the event

OccParam

String; [MaxOccurs, CuOccurs];

  • MaxOccurs - Changes the allowed amount of occurences.

MaxOccurs=0: Event never fires.

MaxOccurs=999: Event fires infinite times.

  • CuOccurs - Changes the counter for how often the event already has occured.
Value

Integer; [0, 999]

Forums