• 🏆 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!

[Trigger] How to detect unit targeted by x item?

Status
Not open for further replies.
Level 17
Joined
Jun 2, 2009
Messages
1,137
How can i detect which unit affected by healing salve item?

Details: Players can gather healing salves from the ground. I believe i can handle this one with active item ability like finger of death but main problem is, these items must be stacked by themselves because players should pick many of them and drop somewhere

Example: You need to cast 5 times healing salve for someone. It must be annoying to go and pick healing salve, then return and cast it and do it 4 more times.

Edit: My bad, i was using the wrong item. Starts to effect an ability and target unit of ability being cast worked well.

Solved.
 
Last edited:
Status
Not open for further replies.
Top