Jimstick
Member!
Hello all, I've tried the most obvious thing first and it wont work. Im trying to make a unit drop all of his items when your right click on a town center and he is close to the building. I tried this trigger:
Actions
----A unit is given an order targenting an object
Conditions
----Target of issued order is equal to town center
----and issued order is (move)
Actions
----If/then/else (multiple actions) -whatever
-------Conditions
------------ordered unit is in region (400,400) of target of issued
---------------order is equal to true
-------Actions
------------Hero - make ordered unit drop item in slot 1
------------Hero - make ordered unit drop item in slot 2
------------Hero - make ordered unit drop item in slot 3
------------Hero - make ordered unit drop item in slot 4
------------Hero - make ordered unit drop item in slot 5
------------Hero - make ordered unit drop item in slot 6
But it doesn't work, i guess when a unit right clicks on a building he does something other then move to...hmmmmm does anyone know what i have to replace (move) with to make this work?
Actions
----A unit is given an order targenting an object
Conditions
----Target of issued order is equal to town center
----and issued order is (move)
Actions
----If/then/else (multiple actions) -whatever
-------Conditions
------------ordered unit is in region (400,400) of target of issued
---------------order is equal to true
-------Actions
------------Hero - make ordered unit drop item in slot 1
------------Hero - make ordered unit drop item in slot 2
------------Hero - make ordered unit drop item in slot 3
------------Hero - make ordered unit drop item in slot 4
------------Hero - make ordered unit drop item in slot 5
------------Hero - make ordered unit drop item in slot 6
But it doesn't work, i guess when a unit right clicks on a building he does something other then move to...hmmmmm does anyone know what i have to replace (move) with to make this work?