• Check out the results of the Techtree Contest #19!
  • 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 void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Killing casting unit causes fatal error

Status
Not open for further replies.
Why does removing, killing, exploding the casting unit cause a fatal error here. The trigger works fine if the call to explode the caster is taken out.

  • Combust
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Combust
    • Actions
      • Set TempLoc42 = (Position of (Casting unit))
      • Unit - Create 1 SFXDummyCombust for (Owner of (Casting unit)) at TempLoc42 facing Default building facing degrees
      • Unit - Explode (Casting unit)
      • Unit - Add a 45.00 second Generic expiration timer to (Last created unit)
      • Unit Group - Pick every unit in (Units within 750.00 of TempLoc42) and do (Actions)
        • Loop - Actions
          • Unit - Cause (Last created unit) to damage (Picked unit), dealing 400.00 damage of attack type Normal and damage type Fire
      • Custom script: call RemoveLocation (udg_TempLoc42)
 
Status
Not open for further replies.
Back
Top