Page 1 of 1
Addunitevent
Posted: Thu Jul 03, 2008 5:27 pm
by Grymme
Hi
I have a small problem with an event in my civil war scenario. It seems that each "place leader event" adds 2 units. I would be very gratefull if someone could help me with why this happens and a programming solution.
I have a suspicion that it adds units during both players turns, but not sure.

RE: Addunitevent
Posted: Thu Jul 03, 2008 8:12 pm
by rickier65
ORIGINAL: Grymme
Hi
I have a small problem with an event in my civil war scenario. It seems that each "place leader event" adds 2 units. I would be very gratefull if someone could help me with why this happens and a programming solution.
I have a suspicion that it adds units during both players turns, but not sure.
I think you need to enclose the two exec (for the msg and the addunit), between a checkturn end check block:
CHECK: checkround == 2
CHECK: checkturn == 1
Execmessage(etc etc etc
Execaddunit(etc etc etc
ENDCHECK
ENDCHECK
Although in your turn 2 it looks like youre sending a message to regime 0 but adding a unit to regime 1.
But havent done this in a while so I might be reading it wrong.
Rick
(I tried indenting the code block - but it lost it's formating. Sorry
RE: Addunitevent
Posted: Fri Jul 04, 2008 12:31 am
by tweber
How is the event checked? If it is either an early or late turn check, then it would appear twice (provided you have 2 active regimes). If you change to a round check, it should only happen once.
RE: Addunitevent
Posted: Fri Jul 04, 2008 12:33 am
by dkong
man....how did u guys learn how to use the event editor so effectively. I am still kinda lost..... Is there any extra documentation that can help other than the one posted at the top of the forum?
RE: Addunitevent
Posted: Fri Jul 04, 2008 12:53 am
by rickier65
ORIGINAL: dkong
man....how did u guys learn how to use the event editor so effectively. I am still kinda lost..... Is there any extra documentation that can help other than the one posted at the top of the forum?
check out the community site there is a docs section there.
http://www.advancedtactics.org/
rick
RE: Addunitevent
Posted: Sun Jul 06, 2008 9:56 am
by Grymme
Thanks guys. Changing the checkturn to checkround seems to have taken care of it.
DKong: I suck at using the event editor. But im quite persistent. My advice is to look at the events of other scenarios. For example if you look at the WAW-events youll have things to try out for several months.