sentrywiz
S
sentrywiz
Hi forum dwellers. I got a rather confusing question
When a normal unit is given the "Inventory (Hero)" ability a couple of bad things happen. The unit can hold and use bonuses from items (even though he is a normal unit and if item gives stats, they just don't add up) but the most disturbing thing is that when that unit dies, if the items aren't removed, moved or dropped via triggers or something else, they stack up.
When another normal unit dies, not only does the system not show the items he was holding, but the items from the previous unit that died are spawned at a random location (most likely the point where the new unit died)
QUESTION IS:
Is there any way via either game constants, triggers or object data to change this?
WHAT I WANT TO HAPPEN
Unit dies, items get moved to a dummy treasure chest. When a new unit of the same player is created, items are given to it.
WHERE'S THE PROBLEM
Sometimes the system bugs and doesn't move the items. They get send to the "void" and are dropped from it when another random unit dies. They cannot be used, retrieved or sold when in the "void"
When a normal unit is given the "Inventory (Hero)" ability a couple of bad things happen. The unit can hold and use bonuses from items (even though he is a normal unit and if item gives stats, they just don't add up) but the most disturbing thing is that when that unit dies, if the items aren't removed, moved or dropped via triggers or something else, they stack up.
When another normal unit dies, not only does the system not show the items he was holding, but the items from the previous unit that died are spawned at a random location (most likely the point where the new unit died)
QUESTION IS:
Is there any way via either game constants, triggers or object data to change this?
WHAT I WANT TO HAPPEN
Unit dies, items get moved to a dummy treasure chest. When a new unit of the same player is created, items are given to it.
WHERE'S THE PROBLEM
Sometimes the system bugs and doesn't move the items. They get send to the "void" and are dropped from it when another random unit dies. They cannot be used, retrieved or sold when in the "void"