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

Need example trigger for casting Item Illusion

Status
Not open for further replies.
Level 6
Joined
Sep 13, 2013
Messages
155
I believe there is also a more simple way using a dummy unit with inventory (hero). Simply make a dummy unit, a dummy item with the desired ability (in this case illusion) and then create the dummy unit and give the dummy item to it and order the unit to use last created item.

  • Events
  • Unit - A unit Starts the effect of an ability
  • Conditions
    • (Ability being cast) Equal to Your Ability
  • Actions
    • Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
    • Hero - Create Dummy Item and give it to (Last created unit)
    • Hero - Order (Last created unit) to use (Last created item) on (Target point/unit of ability being cast)
    • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
 
Status
Not open for further replies.
Top