• 🏆 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!

[Solved] Why doesn't this spell work?

Status
Not open for further replies.
This spell is supposed to damage all Undead units around the caster and heal allied units but it does nothing, nothing at all not to friendlies or enemies.

attachment.php

attachment.php
 

Attachments

  • Screen shot 2015-07-12 at 17.39.55.png
    Screen shot 2015-07-12 at 17.39.55.png
    88.3 KB · Views: 112
  • Screen shot 2015-07-12 at 17.40.15.png
    Screen shot 2015-07-12 at 17.40.15.png
    127.4 KB · Views: 99
Check if this spell works twice...
I think only the first cast will work, the second will not do anything any more.
If so, then remove the "DestroyGroup()" custom texts at the bottom.

It works fine cast after cast. I'd just been a bit dumb about the picked unit and matching unit conditions parts.
 
Check if this spell works twice...
I think only the first cast will work, the second will not do anything any more.
If so, then remove the "DestroyGroup()" custom texts at the bottom.

Those are fine, DestroyGroup() is used to obliterate group leak, but the variable still existent with null value for later usage (and the old ref don't leak).
 
Status
Not open for further replies.
Top