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

[Solved] Very Simple Trigger not working

Status
Not open for further replies.
Level 14
Joined
Jul 12, 2011
Messages
1,371
Hey people!
So, I'm trying to make a spell in which when a hero casts a specific spell, he gains additional armor. The addition armor is gained by an ability casted from an invisible unit via this trigger:
  • Wooden Protection
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Wooden Protection
    • Actions
      • Set Point002 = (Position of (Triggering unit))
      • Unit - Create 1 Wooden Protection Inv Dummy for Player 1 (Red) at (Point001 offset by (100.00, 100.00)) facing 270.00 degrees
      • Unit - Set mana of (Last created unit) to 100.00
      • Unit - Add a 6.00 second Generic expiration timer to (Last created unit)
      • Unit - Order (Last created unit) to Undead Lich - Frost Armor (Triggering unit)
      • Custom script: call RemoveLocation (udg_Point002)

Ability is based on fan of knives.
However the unit does not get spawned.
What's the problem?
 
Status
Not open for further replies.
Top