Hi everybody. Not sure this is exactly the right section for this, might be better under the config one. We'll see.
Anyway, i was trying to mess around a bit with the way choppers are damaged. Mainly cause it bothers me they always explode on crashing.
Then i noticed a few things: What ever you do (handledamage, allowdammage,...) you cannot prevent it from exploding when crashing.
Anybody ever found a work around for that?
I thought about messing with the config to modify the destruction, effect, but that seems to be a no go for now. (unless i'm not messing with it the right way. Could somebody explain to me how you'd go to do that, if even possible?)
Other thing is, if you apply to it a damge eventhandler, it will not fire every time the chopper's hit, but mainly when a component is destroyed or almost destroyed:
I added this:
Now if i shoot the tail rotor with a rifle, it will not display anything until said rotor is damaged enough for the chopper to start spinning.
helo addEventHandler ["Dammaged", "hint format['%1 is hit for %2',_this select 1,_this select 2]"];