View Single Post
Old 11-27-2008, 05:08 PM   #3 (permalink)
Registered User Eccho
Only Tails knows it
 
Eccho's Avatar
 
Join Date: Nov 2006
Posts: 2,292
Eccho is a name known to all (718)Eccho is a name known to all (718)Eccho is a name known to all (718)Eccho is a name known to all (718)
Former Staff Member: This user used to be on the Hive Workshop staff. PayPal Donor: This user has donated to The Hive. Zepyhr Challenge #5 - Winner: Frost Vortex 
Well, the spell can be active more than once, simply to demonstrate that it is Mui. It is up to the user to change the spell duration to something higher than 20 seconds.

I thought I did do so. And yeah I did. I decided not to make an OnDestroy method for the missile since it haves to loop through all missiles attached to the data struct anyways. Therefor, I nulled them before I call the 'native OnDestroy' at the end of the OrbitalMovement:
Jass:
set j = 0
loop
    exitwhen j >= dt.mtot
    call KillUnit(dt.m[j].mis)
    call DestroyTrigger(dt.m[j].trg)
    set dt.m[j].mis = null
    set dt.m[j].trg = null
    call dt.m[j].destroy()
    set j = j + 1
endloop

Thanks for the warning though:p
__________________
New spells this year :D
Frozen Orb
Charged Bolt
Eccho is offline