• 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.

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:
 
Level 4
Joined
Apr 15, 2008
Messages
82
  • 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.
 
Level 8
Joined
Jun 25, 2007
Messages
165
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
 
Level 4
Joined
Apr 15, 2008
Messages
82
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.
Top