I'm trying to make a trigger that when a unit drops an item, and if that unit does not carry any more of that item type (e.g. in case they were carrying two of that item), that will remove them from a unit group. It seems simple enough, and this is what i got:
It doesn't work and I have no clue why. The text was simply to test if the trigger fired up to that point, and it didn't. Any ideas why this isn't working?
Trigger:
- Ancient Regen Lose 3
- Events
- Unit - A unit Loses an item
- Conditions
- (Item-type of (Item being manipulated)) Equal to The Third Form of Ancients
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ((Triggering unit) has an item of type The Third Form of Ancients) Equal to False
- Then - Actions
- Game - Display to (All players) the text: he lose it
- Unit Group - Remove (Triggering unit) from ItemAncients3
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
It doesn't work and I have no clue why. The text was simply to test if the trigger fired up to that point, and it didn't. Any ideas why this isn't working?