• 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] Enter the Items(informative)

Status
Not open for further replies.
want to ask if this is the right way to check if item is used :D and if the the action part is right? I never before made triggers for items.
  • PotionE
    • Events
      • Unit - A unit Uses an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to Tome of Experience
    • Actions
      • Unit Group - Pick every unit in (Units within 150.00 of (Target point of ability being cast)) and do (Actions)
        • Loop - Actions
 
Level 15
Joined
Aug 7, 2013
Messages
1,338
want to ask if this is the right way to check if item is used :D and if the the action part is right? I never before made triggers for items.
  • PotionE
    • Events
      • Unit - A unit Uses an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to Tome of Experience
    • Actions
      • Unit Group - Pick every unit in (Units within 150.00 of (Target point of ability being cast)) and do (Actions)
        • Loop - Actions

Yes, this should run if a unit is using an item of Tome of Experience.
 
Level 11
Joined
Nov 15, 2007
Messages
800
Triggers can fire off of item abilities the same way they do from normal abilities (I.E. "Event - A unit starts the effect of an ability", "Condition - Ability being cast = Item Experience Gain").

If you use "A unit uses an item" instead, you won't be able to get "Target point/unit of ability being cast". For instant use (no target) items, either way works fine.
 
Status
Not open for further replies.
Top