hi, im trying to make it so when someone rightclicks a item it will remove a item on the unit but has to be removed befor a item is picked up se he will pick up the new item but event unit: loses item is for a item that is like dropped upon death, and, issued order isnt working for me unless im doing it wrong well here it is plz help.
Itempickup
Events
Unit - A unit Is issued an order targeting an object
Conditions
(Issued order) Equal to (Order(rightclick))
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Custom value of (Target item of issued order)) Equal to 1
Then - Actions
Item - Remove (Item carried by playerunit1[(Player number of (Owner of (Triggering unit)))] of type Weapon Slot
Else - Actions
Itempickup
Events
Unit - A unit Is issued an order targeting an object
Conditions
(Issued order) Equal to (Order(rightclick))
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Custom value of (Target item of issued order)) Equal to 1
Then - Actions
Item - Remove (Item carried by playerunit1[(Player number of (Owner of (Triggering unit)))] of type Weapon Slot
Else - Actions