Now, looking at the AACW events, I see lots of $ signs, which brought back those happy days of of C-64. And also reminded of how little I understand of computers and progtaming.
Nevertheless, I suppose it doesn't hurt anything (except my brain, but there is so little to start with, so no worries) if I'll *try* to understand the event system...
So, I would want to create an event that is possible to launch only in April 1861 to June 1861. I'd like the game to check if CSA has attacked any city Iowa, Wisconsin, Illinois, Indiana, Michigan, Ohio, Pennsylvania, New Jersey or New York.
Looking at the events I found the Kentucky events to have some resemblance to what I am aiming at. For example:
Code: Select all
SelectFaction = $CSA
SelectFaction = $CSA
StartEvent = evt_nam_CSA_ClosetoKentucky|1|0|NULL|NULL|NULL|NULL
Conditions
CountUnits = $area_CSA_KY_Border;0;$CSA;-1;>=;35
Actions
EndEvent
Now, I wonder if it is possible to create such an area (as $area-CSA_KY_Border, but called for example $area_CSA_incursion), or if it is in-built in the game system?
Also, do I understand the event right, it never fires if CSA has in the area -1 or less units, and always fires if 35 or more units (and if between 0 to 35 units the event has a chance to fire)? Is a "unit" one element (ie if changing 35 to 1, would a single regiment in the area cause the event to always fire?).
Any help will be appreciated
