- Joined
- Dec 9, 2005
- Messages
- 523
JASS:
function DeathAnnounce_DeathCondition takes nothing returns boolean
return IsUnitType(GetDyingUnit(), UNIT_TYPE_HERO) == true
endfunction
So in that bit I successfully added the condition that the dying unit CLASS is a Hero, but how would I add a condition for, let's say, if the unit is a Footman? Or if the unit is NOT a Rifleman?
Thanks.