Page 1 of 1

How to delay bombers?

Posted: Tue Jun 11, 2013 12:05 pm
by GottaLove88s
Gentlemen,

I'm using SetScriptGlobal to delay the availability of fighter-bombers, bombers and artillery until a dawn turn...

SetScriptGlobal("Fw190","gCounter",-3);
SetScriptGlobal("Stuka","gCounter",-1);
SetScriptGlobal("he111","gCounter",-2);
SetScriptGlobal("GermanBattery","gCounter",-1);

SetScriptGlobal("Hurricane","gCounter",-3);
SetScriptGlobal("Typhoon","gCounter",-1);
SetScriptGlobal("Blenheim","gCounter",-2);
SetScriptGlobal("B17","gCounter",-1);

This works fine for the Fw190, Stuka, Hurricane, Typhoon & German Arty... but it has no effect on the He111, Blenheim or B17 bombers...

I'm guessing that's because the required name for the bombers is different from what's held in CARDS.TXT (similar to GermanArt in CARDS.TXT becoming GermanBattery for the script call).

Where does BA pull up the script call names for the medium/heavy bombers? So I can update eg. "B17" to "B17Bomber" or whatever is necessary to control the delay... I couldn't find anything in BombardTools.BSF but I could easily be looking in the wrong place... :oops:

Thanks guys!
:D

Re: How to delay bombers?

Posted: Tue Jun 11, 2013 12:28 pm
by rf900
It may use the bonus file name, so you will need to use:

BombingB17
BombingHe111
BombingBlenheim

Re: How to delay bombers?

Posted: Tue Jun 11, 2013 12:48 pm
by GottaLove88s
Thanks rf... Your solution works a treat!
:mrgreen: