• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Having items only picked up by certain heroes

Status
Not open for further replies.
Level 3
Joined
Feb 8, 2008
Messages
34
I'm working on a map and I need to know how to make it so that only certain heroes can pick up a certain item. Thanks :infl_thumbs_up:
 
  • Untitled Trigger 001
    • Events
      • Unit - A unit Acquires an item
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to HeroYouDon'tWantToPickItemUp
      • (Item-type of (Item being manipulated)) Equal to YourItem
    • Actions
      • Hero - Drop (Matching item) from (Triggering unit)
Enjoy, and reputation would be great if this trigger works.
 
Dont forget to add And (all conditions are true)
  • Object
    • Untitled Trigger 001
  • Events
  • Unit - A unit Acquires an item
  • Conditions
  • And
  • (Unit-type of (Triggering unit)) Equal to HeroYouDon'tWantToPickItemUp
  • (Item-type of (Item being manipulated)) Equal to YourItem
  • Actions
Off-topic: He can't give you rep but its real you help +rep
 
Dont forget to add And (all conditions are true)
  • Object
    • Untitled Trigger 001
  • Events
  • Unit - A unit Acquires an item
  • Conditions
  • And
  • (Unit-type of (Triggering unit)) Equal to HeroYouDon'tWantToPickItemUp
  • (Item-type of (Item being manipulated)) Equal to YourItem
  • Actions
Off-topic: He can't give you rep but its real you help +rep

My first rainbow cookie! Thank you!
 
Status
Not open for further replies.
Back
Top