Page 1 of 1
Reinforcement bug?
Posted: Mon Apr 22, 2013 11:02 am
by Erik2
It looks like a unit scheduled for reinforcement on a specific location will remove enemy units already in that location.
To the left: German round-4 turn-0
To the left: Norway round-0 turn-1
The II/139.Gebirgsjäger unit vanished in thin air...

RE: Reinforcement bug?
Posted: Wed Apr 24, 2013 6:09 am
by Vic
Actually if a unit appears on top of an enemy hex with enemy units combat will occur, you can check the combat log to see the results.
If you want to avoid this from happening you have to add some code to your reinforcement event.
I suggest a
IF CheckHexOwner(x,y)==Norway Regime slot Nr
....code....
END IF
best,
Vic
RE: Reinforcement bug?
Posted: Thu Apr 25, 2013 5:44 am
by Erik2
Aha, so the Norwegians are revolting and taking over the armoury [:)]
I could not find any IF statement, but will this work correctly (top screenshot)?
Also, British, French and Polish forces later arrive in Norway
Since they may retake Norwegian mobilization centers I have entered value=1 in rulevar# 840 (bottom screenshot).
Otherwise the Norwegian units will not mobilize. Correct?
Thank you for your continuing support.
I keep banging my head against parts of the editor, but I am really starting to love the game system.
Erik

RE: Reinforcement bug?
Posted: Tue Apr 30, 2013 6:05 am
by Vic
Yes i actually meant "CHECK" instead of "IF". Sorry. This should indeed work.
Best,
Vic