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

Why doesn't this work?

Status
Not open for further replies.
Level 17
Joined
May 6, 2008
Messages
1,598
  • Rain of Fire 1
    • Events
      • Unit - A unit Begins channeling an ability
    • Conditions
      • (Ability being cast) Equal to Demon_Fire
    • Actions
      • Special Effect - Create a special effect at Hero_Place using Abilities\Spells\Undead\Darksummoning\DarkSummonTarget.mdl
      • Set Special_FX[1] = (Last created special effect)
      • Wait 0.10 game-time seconds
      • Special Effect - Create a special effect attached to the orgin of (Last created unit) using Abilities\Weapons\IllidanMissile\IllidanMissile.mdl
      • Trigger - Turn on Rain of Fire 2 <gen>
      • Wait 5.00 game-time seconds
      • Special Effect - Destroy Special_FX[1]
  • Rain of Fire 2
    • Events
      • Unit - A unit Finishes casting an ability
    • Conditions
    • Actions
      • Game - Display to (All players) the text: TRIGGER 2 WORKS
      • Set Demon_Fire_Point = (Target point of ability being cast)
      • Unit - Create 3 Lesser Voidwalker for Player 1 (Red) at Demon_Fire_Point facing Default building facing degrees
      • Unit - Create 1 Greater Voidwalker for Player 1 (Red) at Demon_Fire_Point facing Default building facing degrees
      • Wait 0.90 seconds
      • Trigger - Turn off (This trigger)
 
Level 36
Joined
Jul 1, 2007
Messages
6,677
First of all, this trigger is not MUI for ANY ABILITY! Add a condition to the second one "ability - ability being cast equal to <your ability>"

Also, Finishes Casting Ability works for CAST TIMES only, not channeling, so you should just make it like this:

  • Rain of Fire 1
  • Events
  • Unit - A unit Begins channeling an ability
  • Conditions
  • (Ability being cast) Equal to Demon_Fire
  • Actions
  • Special Effect - Create a special effect at Hero_Place using Abilities\Spells\Undead\Darksummoning\DarkSummonTarget.mdl
  • Set Special_FX[1] = (Last created special effect)
  • Wait 0.10 game-time seconds
  • Special Effect - Create a special effect attached to the orgin of (Last created unit) using Abilities\Weapons\IllidanMissile\IllidanMissile.mdl
  • Trigger - Turn on Rain of Fire 2 <gen>
  • //------------------------------------------------------------
  • Wait until (Triggering Unit) current order not equal to "channel"
  • //------------------------------------------------------------
  • Special Effect - Destroy Special_FX[1]
    • Game - Display to (All players) the text: TRIGGER 2 WORKS
  • Set Demon_Fire_Point = (Target point of ability being cast)
  • Unit - Create 3 Lesser Voidwalker for Player 1 (Red) at Demon_Fire_Point facing Default building facing degrees
  • Unit - Create 1 Greater Voidwalker for Player 1 (Red) at Demon_Fire_Point facing Default building facing degrees
  • Wait 0.90 seconds
  • Trigger - Turn off (This trigger)
 
Level 17
Joined
May 6, 2008
Messages
1,598
True that. Sorry about it.

It does not work. Because the units doesn't spawn in the middle of the place i selected the spell.
 
Status
Not open for further replies.
Top