I would strongly suggest to use an event handler instead of a trigger or a looping
script, as it uses much less CPU. If it is true what Suma said, it should even use
none, because it is strictly eventbased, i.e. once an object is hit, OFP looks
if there is a "Hit" handler and executes the respective code string. A loop script
or a trigger has to constantly the damage of the helo.
In script, the command should look as follows:
helo addEventHandler["Hit",{_obj=_this select 0; _by=_this select 1; _dam=_this select 2; [_obj,0,0] exec "tailrotor.sqs"}]
Within the code string, _obj is the hitted helo, _by contains the unit that hit it and
_dam is the amount of damage caused. You may want to add a criteria like
_dam > 0.3 for actually executing the tailrotor script.
I