Hi !
So I'm trying to adapt the code from @POLPOX for other vehicles. Right now, I'm triyng with the RHS M1165A1, and so far I have this :
this addEventHandler ["HandleDamage",{(_this#7 in ["hitlfwheel","hitlbwheel","hitrfwheel","hitrbwheel","hitengine"])}]
It's working fine for the 4 wheels and the engine, but I wish to make damageable the "turret" and the M2 & M240 mounted on it. I tried with "hitturret" and "hitgun" but that doesn't seem to work.
Any idea where I could find the names of these parts ? I looked in the config viewer but I did not find anything.