How to delay bombers?
Posted: Tue Jun 11, 2013 12:05 pm
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...
Thanks guys!

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...
Thanks guys!