- Joined
- Dec 19, 2016
- Messages
- 45
Is it possible using triggers to have a unit lose more than their maximum health so they have health below 0. Thanks in advance.
Is it possible using triggers to have a unit lose more than their maximum health so they have health below 0. Thanks in advance.
What are you trying to do with this? A unit/hero with negative health becomes nearly invulnerable by normal forms of damage so if you could explain a bit more would be helpful and I will upload an example map sometime today or tomorrow.Is it possible to make it say it has negative health then, even if it doesn't actually, because I want it to have the illusion of the unit having negative health.
Around 2.1 billion some part of the integer system fails and tries to kill the unit/hero however the health value is actually a real so this can be bypassed as reals can go way higher then integers. The actual limit before the game decides to set the objects health to 0 is around 27 or 28 zero's. You don't even need to kill the hero or unit as we have had the ability to stop unit/hero death for a while, I think its been possible since phoenix got added into the game however there is a few other methods to achieve this visually(meant as unit not dying) or some type of revive/respawn however actually not requiring any form of revive/respawn is limited to only one ability last I checked.I think if you make the value of a unit's life to high that it overflows, then it is treated as "negative" health. But unless it's a hero that can be revived, I don't think you have any way of working with the unit.