Skip to content
User Avatar
#2745
Auto-translated
it’s hard to say for sure, of course, but if you looked at the entire map, maybe some other part of the code is affecting it…

as an alternative, you could try using PLAYER_REMOVE_HERO_TRIGGER:
function RemoveHero(looser, winner)
if(looser == 'Aberrar') then
--checks for mines, etc.
end
end

Trigger(PLAYER_REMOVE_HERO_TRIGGER, id of the desired player, 'RemoveHero')
Нет войне.