Hi, can someone help me figure out what is wrong with this trigger? Its supposed to make a building jump to max construction if a unit has a certain item, but the building speed isnt changing. The item is being removed from the unit though.
Also, how can I detect if a unit drops an item?
Code:
Unit Group - Pick every unit in (Units owned by (Owner of (Constructing structure)) of type Ancients of Construction) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Item carried by (Picked unit) in slot 1)) Equal to Orb of Construction
Then - Actions
Unit - Set (Constructing structure) construction progress to 99%
Item - Remove (Item carried by (Picked unit) in slot 1)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Item carried by (Picked unit) in slot 2)) Equal to Orb of Construction
Then - Actions
Unit - Set (Constructing structure) construction progress to 99%
Item - Remove (Item carried by (Picked unit) in slot 2)
Else - Actions
Also, how can I detect if a unit drops an item?