• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

hero BUG..

Status
Not open for further replies.
By not reducing its life below 0.405? As we know nothing about your map, we cannot tell you the cause.

Some possible causes...

1. Trigger bug. Turning off all triggers should fix it if that is the case. If this is the cause you need to debug the triggers. Turn triggers off selectivly (a few at a time) until you find the one(s) causing the problem. Use game messages to help trace the logic that the trigger performs. Correct broken logic and the problem should be fixed.

2. Object Editor typo. Some abilites or upgrades modify maximum life. If a stupid value were used during the modification (such as a large negative value) it is possible to reduce the unit's maximum health below 1, killing it. Alternativly there are problems if very large values are used for health and health regeneration as it can be assumed that some kind of floating point number is used to represent them inside the game engine. This is usually only a problem in poorly designed maps where player scaling goes into the stupidly large number ranges but a mistake (unequiping an item) causes it to suddenly drop.

3. Obscure mechanics. When aquiring an item that modifies maximum life or mana there are a set of rules used to govern your current life or mana. These rules keep the percentage the same causing an increase (maximum raised) or decrease (maximum lowered). If something interacted strangly with these rules (upgrades?) it would be possible that life gets reduced lower than the living threshold when interacting with such abilites. This however seems the least plausable of the reasons.
 
[[[2. Object Editor typo. Some abilites or upgrades modify maximum life. If a stupid value were used during the modification (such as a large negative value) it is possible to reduce the unit's maximum health below 1, killing it. Alternativly there are problems if very large values are used for health and health regeneration as it can be assumed that some kind of floating point number is used to represent them inside the game engine. This is usually only a problem in poorly designed maps where player scaling goes into the stupidly large number ranges but a mistake (unequiping an item) causes it to suddenly drop.]]]

this could be the problem.. i made an upgrade for my units to increase their life and regen. and i used also to my hero, before that my hero can pick all items, when i upgrade it,it Triggers to kill a hero when they pick up items, i create the game again and try not to upgrade this life and regen then my hero can pick,,,so what i did,i deleted the upgrade used by a hero {this life and regen upgrde} and try the game again.
then it's solve..

but my question is why it is only triggers when they pick an item in which the items doesnt concern on the upgrades, and the items are just normal items like gold coin or just simple scrolls or runes??
if the upgrade is the problem for the high regen then mybe it will kill all my units and hero after the research is completed..
:goblin_boom::goblin_boom:
 
Status
Not open for further replies.
Back
Top