• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Cant get enemy unit to cast spell based on impale

Status
Not open for further replies.
Level 5
Joined
Feb 1, 2009
Messages
111
so i created a spell, based it on impale, provided enough mana for the enemy unit to cast it but it doesn't cast !

  • Untitled Trigger 001
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • (Unit-type of (Attacked unit)) Equal to Tauren
    • Actions
      • Unit - Order (Attacked unit) to Undead Crypt Lord - Impale (Position of (Attacking unit))
Also tried:

  • Untitled Trigger 001
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • (Unit-type of (Attacked unit)) Equal to Tauren
    • Actions
      • Unit - Order (Attacked unit) to Undead Crypt Lord - Impale (Attacked unit)

The text-order string ID is not used by any other custom spell.

Anyone can tell me what I'm missing ?
 
Level 10
Joined
Apr 18, 2009
Messages
601
Change ownership of the impale-casting enemy unit to player 1 or whatever player you're testing the map as. Check if you can manually cast impale and if everything seems normal.
 
It really wont work lol!!!

you see.. u have ordered the attacked unit to impale itself ..

  • OLD TRIGGER
    • Events
      • Unit - Unit is attacked
    • Conditions
      • (Unit type of (Attacked unit)) Equal to Tauren
    • Actions
      • Unit - Order (Attacked unit) to Undead Crypt Lord - Impale (Attacked unit)
  • NEW TRIGGER
    • Events
      • Unit - Unit is attacked
    • Conditions
      • (Unit type of (Attacked unit)) Equal to Tauren
    • Actions
      • Unit - Order (Attacked unit) to Undead Crypt Lord - Impale (Attacking unit)
Plus the first trigger leaks points so you must create a variable for the point and destroy it..
 
Status
Not open for further replies.
Top