object - commandobject - unit
int OnHit()
Scope: public
Parameters
none
Return values
true - if script handled event.
false - if script dosn't handled event.
Description
This event is called when unit are hit by enemy unit.
To obtain pointer to this enemy unit use function GetAttacker.
Returned value isn't important.
See also
GetAttacker