• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your 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.
Top