I have a question about Event Handlers.
I want to know whether an unit has been attaked or not, and if the unit has an attack, I want to play an alarm sound. Event Handlers has some option, "Hit" and "Dammaged" and I tyr both of them. but to no avail.
class fighter : plane
{
class EventHandlers
{
Hit="_this select 0 vehicleRadio ""DammageWarning""";
dammaged="_this select 0 vehicleRadio ""DammageWarning""";
};
};
Is this a correct usage?