- Joined
- May 2, 2009
- Messages
- 650
I need a trigger for when a hero picks up an item, and he already has that item OR another type of item, he will drop the item he was picking up and a message pops up saying Blah blah blah to that player.
Will rep and give credit anyone who can create me it first, i tried several times and fail
Event
Unit - A unit aqcuires an item
Condition
(Item class of (Item being Manipulated)) Equal to Artifact
Action
If ((((Triggering unit) has an item of type (Random level -1 Artifact item-type)) Equal to True) and (((Triggering unit) is A Hero) Equal to True)) then do (Hero - Drop (Item being manipulated) from (Triggering unit)
^^
Code fail.
Need help.
Will rep and give credit anyone who can create me it first, i tried several times and fail
Event
Unit - A unit aqcuires an item
Condition
(Item class of (Item being Manipulated)) Equal to Artifact
Action
If ((((Triggering unit) has an item of type (Random level -1 Artifact item-type)) Equal to True) and (((Triggering unit) is A Hero) Equal to True)) then do (Hero - Drop (Item being manipulated) from (Triggering unit)
^^
Code fail.
Need help.
Last edited: