LiquidSky
Posts: 830
Joined: 6/24/2008 Status: offline
|
0) CHECK: CheckTurn == Gameslot_SovietsRegime(#5) 1) CHECK: Gameslot_Scenario Type (1=camp, 2=small)(#400) == 1 2) CHECK: CheckHexOwner(20, 82) == Gameslot_SovietsRegime(#5) 3) CHECK: Gameslot_Sevastopol Conquered(#74) < 1 4) EXECUTE: ExecDoStructuralDamage(20, 82, -250) 5) END CHECK 6) END CHECK 7) CHECK: TempVar1 != 1 8) SETVAR: Gameslot_Sevastopol Conquered(#74) = 1 9) END CHECK 10) END CHECK 11) END CHECK I decided to put a line in here for Sevastopol to receive a small amount of supplies so that it can never reach zero...and it wasnt working. Then I noticed line 7. It checks for a variable that doesnt exist in this event. Which will probably be equal to the TempVar1 in the previous event, or zero...either way, its undefined, and probably doesnt equal 1. Which means it will set Sevastopol to conquered...and no longer give it the bonus.
_____________________________
To the right General Patton, to the left the British Army, to the rear our own artillery, and besides all that its raining. And the only good thing to say about the weather: it keeps our air corps from blowing us all to Hell because its too lousy to fly.
|