• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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