Ok I'm having a major problem with this and I've tried lots of things. Im trying to create a hero system which only allows you to have one hero at a time but allows you to rechoose them at any point through the game.
Example: if player revives one hero from altar then his current one needs to die to make room for the one he's just brought but I cant remove it from the game as it needs to be stored in the hero altar for later resurection. Ive tried killing every unit of type when player revives their hero but this kills the reviving/summoning hero as soon as it re-enters game.
All help appreciated with this
(ps: I don't have jass or know much about variables)
Example: if player revives one hero from altar then his current one needs to die to make room for the one he's just brought but I cant remove it from the game as it needs to be stored in the hero altar for later resurection. Ive tried killing every unit of type when player revives their hero but this kills the reviving/summoning hero as soon as it re-enters game.
All help appreciated with this
(ps: I don't have jass or know much about variables)