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

Automated Casting Problem

Status
Not open for further replies.
Level 1
Joined
Oct 28, 2004
Messages
5
I don't know how many other people have witnessed this problem, but here goes.

I'm creating a spell called Searing Light, in which 8 beams of light are called down around the targeted area and use the Shockwave ability on the center of the targeted area. It's based off of Healing Ward, but I've already determined that that isn't causing the problem.

The problem is that only one of the beams of light is casting Shockwave, which is the first beam created by the spell's trigger. I'm not even sure the rest of the invisible casting units are being created. Here's part of the trigger.

If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Searing Light for (Casting unit)) Equal to 1
Then - Actions
Special Effect - Create a special effect at ((Target point of ability being cast) offset by 400.00 towards 0.00 degrees) using Abilities\Spells\Human\Resurrect\ResurrectTarget.mdl
Special Effect - Create a special effect at ((Target point of ability being cast) offset by 400.00 towards 45.00 degrees) using Abilities\Spells\Human\Resurrect\ResurrectTarget.mdl
Special Effect - Create a special effect at ((Target point of ability being cast) offset by 400.00 towards 90.00 degrees) using Abilities\Spells\Human\Resurrect\ResurrectTarget.mdl
Special Effect - Create a special effect at ((Target point of ability being cast) offset by 400.00 towards 135.00 degrees) using Abilities\Spells\Human\Resurrect\ResurrectTarget.mdl
Special Effect - Create a special effect at ((Target point of ability being cast) offset by 400.00 towards 180.00 degrees) using Abilities\Spells\Human\Resurrect\ResurrectTarget.mdl
Special Effect - Create a special effect at ((Target point of ability being cast) offset by 400.00 towards 225.00 degrees) using Abilities\Spells\Human\Resurrect\ResurrectTarget.mdl
Special Effect - Create a special effect at ((Target point of ability being cast) offset by 400.00 towards 270.00 degrees) using Abilities\Spells\Human\Resurrect\ResurrectTarget.mdl
Special Effect - Create a special effect at ((Target point of ability being cast) offset by 400.00 towards 315.00 degrees) using Abilities\Spells\Human\Resurrect\ResurrectTarget.mdl
Wait 0.50 seconds
Unit - Create 1 Searing Light Caster (Level 1) for (Owner of (Casting unit)) at ((Target point of ability being cast) offset by 400.00 towards 0.00 degrees) facing (Target point of ability being cast)
Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave (Target point of ability being cast)
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Wait 0.10 seconds
Unit - Create 1 Searing Light Caster (Level 1) for (Owner of (Casting unit)) at ((Target point of ability being cast) offset by 400.00 towards 45.00 degrees) facing (Target point of ability being cast)
Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave (Target point of ability being cast)
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Wait 0.10 seconds
Unit - Create 1 Searing Light Caster (Level 1) for (Owner of (Casting unit)) at ((Target point of ability being cast) offset by 400.00 towards 90.00 degrees) facing (Target point of ability being cast)
Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave (Target point of ability being cast)
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Wait 0.10 seconds
Unit - Create 1 Searing Light Caster (Level 1) for (Owner of (Casting unit)) at ((Target point of ability being cast) offset by 400.00 towards 135.00 degrees) facing (Target point of ability being cast)
Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave (Target point of ability being cast)
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Wait 0.10 seconds
Unit - Create 1 Searing Light Caster (Level 1) for (Owner of (Casting unit)) at ((Target point of ability being cast) offset by 400.00 towards 180.00 degrees) facing (Target point of ability being cast)
Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave (Target point of ability being cast)
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Wait 0.10 seconds
Unit - Create 1 Searing Light Caster (Level 1) for (Owner of (Casting unit)) at ((Target point of ability being cast) offset by 400.00 towards 225.00 degrees) facing (Target point of ability being cast)
Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave (Target point of ability being cast)
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Wait 0.10 seconds
Unit - Create 1 Searing Light Caster (Level 1) for (Owner of (Casting unit)) at ((Target point of ability being cast) offset by 400.00 towards 270.00 degrees) facing (Target point of ability being cast)
Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave (Target point of ability being cast)
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Wait 0.10 seconds
Unit - Create 1 Searing Light Caster (Level 1) for (Owner of (Casting unit)) at ((Target point of ability being cast) offset by 400.00 towards 315.00 degrees) facing (Target point of ability being cast)
Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave (Target point of ability being cast)
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Else - Actions
Do nothing

Please tell me if you can help.
 
Level 11
Joined
Jul 20, 2004
Messages
2,760
First of all, use a loop for all those effects. It will be much easier to not have such a big trigger. Secondly, what did you base your spell off? You mentioned some (target point of ability being cast) and if you don't target a point then there is a problem. In such confusion cases, you can get strange errors you know.

~Daelin
 
Level 1
Joined
Oct 28, 2004
Messages
5
I've gotten a similar spell to work before, but it was based on a different ability. This one is based off of Healing Ward, just turned into a Hero ability. I'll try changing the base ability, it should most likely work.[/u]
 
Status
Not open for further replies.
Top