• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

My other spell..

Status
Not open for further replies.
Level 3
Joined
Dec 12, 2005
Messages
37
Alright.. im having trouble with this other spell, where it turns 1/2/3/4 corpses into skeletons around the hero. I based it on howl of terror. heres what it looks like.

Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Raise Dead
Actions
Unit Group - Pick every unit in (Units within (200.00 x (Real((Level of Raise Dead for (Triggering unit))))) of (Position of (Triggering unit)) matching (((Triggering unit) is alive) Equal to False)) and do (Actions)
Loop - Actions
Unit - Create 1 Dummy3 for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing 0.00 degrees
Unit - Add Skeletons-Raisedead to (Last created unit)
Unit - Set level of Skeletons-Raisedead for (Last created unit) to (Level of Raise Dead for (Triggering unit))
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
 
Level 2
Joined
Apr 21, 2006
Messages
21
The problem is you didnt order your dummy to do anything. Sure you gave it the ability and all but you didn't tell it to cast. Also create the dummy unit at the position of the picked unit not the triggering unit (doesnt REALLY matter but its better setup that way)
 
Level 3
Joined
Dec 12, 2005
Messages
37
Ohhh. I see, so will that fix my problem?


Edit: Heres what it looks like.. and its not working. Unit - Order (Last created unit) to Undead Necromancer - Raise Dead (Triggering unit)
 
Level 11
Joined
Jul 12, 2005
Messages
764
you have the same problem that you had before... you use "triggering unit" for the wrong unit.

Unit - Order (Last created unit) to Undead Necromancer - Raise Dead (Triggering unit)

This way your dummy will cast the spell on the triggering unit, which is the caster (your hero with the howl of terror).
You want your dummy to cast raise dead on the picked unit in the loop:

Unit - Order (Last created unit) to Undead Necromancer - Raise Dead (Picked unit :!: )
 
Level 3
Joined
Dec 12, 2005
Messages
37
Yet another problem.. I did what you said. But now whenever i use the ability. It casts the ability as many times as there are corpses. I tried removing the ability after it was cast. But it didn't work. Some help?
 
Status
Not open for further replies.
Top