i am confused as hell right now.
there are heroes on my map, items aswell - heroes die and get revived. Online, on my published map items disappear after revive.
i saw that several times and people reported that - i cant explain why, but the trigger should have worked - the items are just gone.
now i started re-writing my whole attribute reapply system (behaviours are lost on die aswell so hero attributes ahve to be saved in variables and reapplied everytime.)
also i combined that with a new item save system, that saves items in variables and recreates them after revive. issue would be uitems with charges..
point of this thread is, i tested the thing (test document) on 1 item - bought several other items, died got revived - and had ALL items back.
after that i disabled that whiole item function in the revive trigger, bought random items - died - all items back on revive.
wtf? does that work now, or what? is this only working in test document? if so, why are items still disappearing on my published version..?
i am very confused..
another small side question.. i thought about changing the whole system to a death prevention method, so the unit cant loose items or behaviours in the first place.
what event is it to trigger stuff on the death prevention? i at this point dont even care about animating the death of the unit, just want to create a critter nuke at that spot and hide the hero. but i dont know what event the death prevention is related to.
Blizzard fixed the issue with items disappearing; units with inventories keep all their items, when killed and being revived.
Make sure to uncheck the Drop on Death flag for all of your items (it should be checked before, to reliably cause trigger solutions before)
Also you should deactivate your trigger solution, since it might interfere in a bad way.
About the death prevention (even though you might not need it anymore): There is no trigger solution for death prevention I know of. Unlike in WC3, the damage detection event triggers, after the damage was already done. So the trigger can only detect, that a unit has died already.
However, you can use a behavior's damage response. You can make use of a flag, which will only trigger the damage response, if the unit would die from the damage. In this case, you can negate the incoming damage (by modifying the damage with the damage response itself) and execute an effect you like. You could attach a data-only effect chain to achieve your desired effects, or you could use a trigger reaction to the executed effect afterwards.
For my map, it works perfectly fine. Are you sure, all your AoE-Spells have filtered out items? Otherwise the items get destroyed, if a hero got hit by an AoE-Spell.
hey people.
i am confused as hell right now. there are heroes on my map, items aswell - heroes die and get revived. Online, on my published map items disappear after revive.
i saw that several times and people reported that - i cant explain why, but the trigger should have worked - the items are just gone.
now i started re-writing my whole attribute reapply system (behaviours are lost on die aswell so hero attributes ahve to be saved in variables and reapplied everytime.) also i combined that with a new item save system, that saves items in variables and recreates them after revive. issue would be uitems with charges..
point of this thread is, i tested the thing (test document) on 1 item - bought several other items, died got revived - and had ALL items back. after that i disabled that whiole item function in the revive trigger, bought random items - died - all items back on revive.
wtf? does that work now, or what? is this only working in test document? if so, why are items still disappearing on my published version..?
i am very confused..
another small side question.. i thought about changing the whole system to a death prevention method, so the unit cant loose items or behaviours in the first place. what event is it to trigger stuff on the death prevention? i at this point dont even care about animating the death of the unit, just want to create a critter nuke at that spot and hide the hero. but i dont know what event the death prevention is related to.
Blizzard fixed the issue with items disappearing; units with inventories keep all their items, when killed and being revived.
Make sure to uncheck the Drop on Death flag for all of your items (it should be checked before, to reliably cause trigger solutions before)
Also you should deactivate your trigger solution, since it might interfere in a bad way.
they really did? thank god! phew..
thanks for that information!
About the death prevention (even though you might not need it anymore): There is no trigger solution for death prevention I know of. Unlike in WC3, the damage detection event triggers, after the damage was already done. So the trigger can only detect, that a unit has died already.
However, you can use a behavior's damage response. You can make use of a flag, which will only trigger the damage response, if the unit would die from the damage. In this case, you can negate the incoming damage (by modifying the damage with the damage response itself) and execute an effect you like. You could attach a data-only effect chain to achieve your desired effects, or you could use a trigger reaction to the executed effect afterwards.
hey. i have to re-activate this thread.
itemloss is NOT fixed. at least on my map, items disappear on revive.
these items are definitly not "drop on death". have i missed something else? this starts to annoy me, really :S
how did a map like.. i dont know, sotis handeled this?
For my map, it works perfectly fine. Are you sure, all your AoE-Spells have filtered out items? Otherwise the items get destroyed, if a hero got hit by an AoE-Spell.
so the items actually are dropped but hidden and after revive reapplied by default?
will try that..
No, you are misunderstanding me. Even if the hero is alive, all items carried by him will be destroyed by any AoE-damage, which does not filter items.
hmm.
would making the items invulnerable prevent that? i hope not, because they were invulnerable flagged..
well i changed wevery aoe now, and hope that solved the problem. if not i will post here again.
thanks for the help.
Invulnerable is just like any other flag. So for invulnerable to work, all your damage effects need to filter invulnerable as well.