Units not dropping items from Item Table

Level 16
Joined
May 25, 2004
Messages
1,207
My son has a map we been playing and he is having issues with some units not dropping from the Item Drop Table.

The normal creeps are working perfectly. some special units however, do not seem to be working as intended.
The special unit is originally a Neutral Hostile, but a trigger at the map initialization make the unit passive and hidden.
Once the chat command is entered, the unit goes back to being hostile and no longer is hidden. Once the unit dies however, the unit table seems to be forgotten or lost. he has made a trigger to just make the unit drop these items anyway, but I'm curious why there is an issue to begin with.
 

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,866
Hiding units should be enough. It's not like they can do anything in that state.

A unit loaded into a transport, like a Goblin Zeppelin is considered "Hidden".

They continue regenerating HP/Mana but everything else is disabled. They shouldn't have any impact on the game.

If OP is worried about other triggers influencing the hidden units then there's always this condition to filter them out:
  • Conditions
    • ((Your unit) is Hidden) Equal to False
 
Last edited:
Level 28
Joined
Dec 3, 2020
Messages
968
What Uncle said, but I suggest creating an item upon the specific unit's death through a trigger (as you and your son have already done), especially if it will always be the same item-type AND especially if it's a campaign type of map.
The trigger will never fail to get the job done.

And this is coming from me, a guy who prefers to make stuff as trigger-less as possible (basically if it can be done through the object editor, do it there etc...)
 
Top