- Joined
- Dec 27, 2012
- Messages
- 36
So i want to make it so that when a unit that has "claws of attack" picks up the same item it will drop that item and keep only 1. I dont know JASS so i used triggers.
-
Items
-
Events
-
Unit - A unit Acquires an item
-
-
Conditions
-
((Triggering unit) is A Hero) Equal to True
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Item being manipulated) is owned) Equal to True
-
-
Then - Actions
-
Hero - Drop (Item being manipulated) from (Hero manipulating item)
-
Game - Display to (All players) for 2.00 seconds the text: ((Name of (Owner of (Triggering unit))) + you allready have this item!)
-
-
Else - Actions
-
Do nothing
-
-
-
-