- Joined
- Mar 2, 2013
- Messages
- 127
Is there a condition to check if the player is still in the game or not.
function Death_Match_C takes nothing returns boolean
return IsUnitType(GetTriggerUnit(), UNIT_TYPE_HERO) == true and GetUnitAbilityLevel(GetTriggerUnit(),'ACLN') == 0 and IsUnitIllusion(GetTriggerUnit()) == false and
IsUnitInGame = true <------Something like this
endfunction
function Death_Match_C takes nothing returns boolean
return IsUnitType(GetTriggerUnit(), UNIT_TYPE_HERO) == true and GetUnitAbilityLevel(GetTriggerUnit(),'ACLN') == 0 and IsUnitIllusion(GetTriggerUnit()) == false and
IsUnitInGame = true <------Something like this
endfunction