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

Passive skill spawns units after hero dies.

Status
Not open for further replies.
Level 2
Joined
Dec 22, 2010
Messages
16
I've recently decided to make a foray into triggering spells (GUI) as i have become fond of the world editor on WC3. For the current hero I am creating, I was attempting to think of some abilities that might be original and i came up with an ability similar to the Haunt ability of the "Spectre" from DotA. It is a passive ability that gives no bonuses, but when the Hero dies, a number of units spawn around the killer of said hero. I have it all worked out except how to make it so the units actually spawn.

  • Fiery Vengeance
    • Events
      • Unit - Firelord 0000 <gen> Dies
    • Conditions
      • (Learned Hero Skill) Equal to Fiery Vengeance
    • Actions
      • Set FieryVengeanceWraiths = (Last created unit group)
      • Unit - Create ((Level of Fiery Vengeance for (Triggering unit)) + 3) Fiery Vengeance unit for (Triggering player) at (Position of (Killing unit)) facing (Facing of (Killing unit)) degrees
      • Unit Group - Order FieryVengeanceWraiths to Attack (Killing unit)
      • Wait 10.00 seconds
      • Unit Group - Pick every unit in FieryVengeanceWraiths and do (Unit - Remove (Triggering unit) from the game)
These are the triggers I have so far, however when the hero dies the units do not spawn, I assume this is because of the condition, however I can not find the proper condition to use otherwise.

Help would be greatly appreciated, and thanks in advance.
 
Level 2
Joined
Dec 22, 2010
Messages
16
Thanks

Hey, Thanks a lot! A speedy reply too, and at this hour! i like this forum already. I did not even think of using an integer comparison, I am so noob :ogre_rage:. This is most helpful.
 
Level 2
Joined
Dec 22, 2010
Messages
16
OOooooooooo, its 4:18 AM in my timezone. Well thanks for the help on that skill, can't believe that had me stumped for as long as it did. Now i am off to bed:ogre_haosis:
 
Status
Not open for further replies.
Top