Upon picking up the item you can issue an order to the unit to immediately drop the item. You could also remove the item and create an identical one at the same position.
You could also give the item a certain class and have that class not accessible by the unit's inventory.
My Projects:
Malum Ruina: SC2Mapster
Eternal Exile: SC2Mapster
Spine Crawler Madness: SC2Mapster
Xeno Crisis: SC2Mapster
Demtrod Regular ShmoeHow do I prevent a unit from picking up an item?
I tried moving the item to the item location, but that will be the location of the carrying unit.
NOTE: I need to be able to make a unit not able to pick up an item, but still able to interact with it.
Gridlock TD : Elements