currently items with behaviours are just vanishing from the game... they also dont obey the "item drop on death" flags.. So there is no way for me to recover them that i know of. Any solutions?
I think they will drop once you set their radius to 0 and turn drop on death on now.... but they appear for a fraction of a second before being hidden and I am not sure if they could be killed during this time.
I've tried to reproduce the drop on death problem, but couldn't. With a few dozen different items all with unique units/actors/models/items/etc, not one is destroyed on death (none are supposed to). All of them have a non-zero positive radius, collide with Ground, and have the Drop on Death and Droppable flags set.
However, I did specifically add my custom inventory to a unit (normal zerglings) just to test this bug, and couldn't produce the problematic results. Try removing the inventory ability from your hero, saving, and adding it back; it may be that the code for inventories was "adjusted" but not retroactively applied to existing unit data.
currently items with behaviours are just vanishing from the game... they also dont obey the "item drop on death" flags.. So there is no way for me to recover them that i know of. Any solutions?
I think they will drop once you set their radius to 0 and turn drop on death on now.... but they appear for a fraction of a second before being hidden and I am not sure if they could be killed during this time.
I've tried to reproduce the drop on death problem, but couldn't. With a few dozen different items all with unique units/actors/models/items/etc, not one is destroyed on death (none are supposed to). All of them have a non-zero positive radius, collide with Ground, and have the Drop on Death and Droppable flags set.
However, I did specifically add my custom inventory to a unit (normal zerglings) just to test this bug, and couldn't produce the problematic results. Try removing the inventory ability from your hero, saving, and adding it back; it may be that the code for inventories was "adjusted" but not retroactively applied to existing unit data.
you certain the items isn't killed by the attack on the hero?
Items in inventories can be killed by aoe attacks. (You need to make the items invulnerable to prevent this)
Removing Items from the AoE search effect also works.