• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[General] Item Problems

Status
Not open for further replies.
Level 2
Joined
Aug 30, 2011
Messages
14
I need a way to make it so if a hero drops an item no other hero can pick up that item except the one who dropped it. Also im not sure if this makes a difference but there are recipes for better items that i would like to do the same thing with. Any help would be great thanks.
 
Level 8
Joined
Dec 9, 2009
Messages
397
  • Untitled Trigger 001
    • Events
      • Unit - A unit Acquires an item
    • Conditions
    • Actions
      • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Owner of (Item being manipulated)) Not equal to (!=) (Owner of (Triggering unit))
          • (Owner of (Item being manipulated)) Not equal to (!=) Neutral Passive
        • Then - Actions
          • Set TempLoc = (Position of (Item being manipulated))
          • Item - Move (Item being manipulated) to TempLoc
          • Custom script: call RemoveLocation(udg_TempLoc)
        • Else - Actions
          • Item - Change ownership of (Item being manipulated) to (Owner of (Hero manipulating item)) and Change color
 
Status
Not open for further replies.
Top