Special Effect help!!

Evote

New Member
Reaction score
4
i made a ability which makes lots of special effects at the same time.
how do i destroy them all. after abit i mean.
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
If you are using a integer loop of some sort, you could store the created special effects in an special effect variable array and destroy them later.

Code:
Actions
    ...
    ...
    For each (Integer A) from 1 to 10, do (Actions)
        Loop - Actions
            ...
            ...
            Special Effect - Create a special effect attached to the overhead of (Triggering unit) using Objects\InventoryItems\Rune\Rune.mdl
            Set TmpEffects[(Integer A)] = (Last created special effect)
    ...
    ...
    //The last actions
    For each (Integer A) from 1 to 10, do (Actions)
        Loop - Actions
            Special Effect - Destroy TmpEffects[(Integer A)]
 

Sir Gordon

Decent User (I'm as good as you)
Reaction score
43
Because the action "Destroy (Last Created Special Effect)" won't work, use variables, or Integers as Last created Special Effects.

EDIT: ohh, too bad.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top