InFlight Maintenance Issues
Posted: Thu May 25, 2017 12:09 pm
I'm working on trying to simulate an in-flight maintenance issue. Think engine problem, error code, something non-critical but still a RTB.
Is there any way to set the damage to the engine so it doesn't immediately fail? Even setting light damage drops it immediately. I know with twin engine planes they just use the other engine.
This is the script I'm using to test with :
Which gives this immediately
Ideally it'd see some light engine damage and limp home.
Is there any way to set the damage to the engine so it doesn't immediately fail? Even setting light damage drops it immediately. I know with twin engine planes they just use the other engine.
This is the script I'm using to test with :
Code: Select all
ScenEdit_SetUnitDamage({side="Opfor", unitname="JAS 39C Gripen", fires=0, components={{"F404-GE-400 RM.12 #1","Light"}}})
Which gives this immediately
1:50:09 PM - 1:50:09 PM - JAS 39C Gripen has been destroyed!
1:50:09 PM - 1:50:09 PM - JAS 39C Gripen (JAS 39C Gripen) has no functioning engines and is being abandoned!
Ideally it'd see some light engine damage and limp home.