Storing more then one Special Effect in a variable

zaqer50

TH.net Regular
Reaction score
3
Is it possible to store more then 1 Special effect in a special effect variable so you can delete them all later (To prevent leaks), or would I have to use a separate variable for each one?
 

hi_im_bob

......and you are?
Reaction score
44
you could use arrays..... but otherwise i think that it is one per variable
 

zaqer50

TH.net Regular
Reaction score
3
Well, they're already arrays since I'm using that to check for something else, so it looks like I'm using more then one variable then.

EDIT: Another quick question. If you remove a unit from the game that has a Special Effect attached to it, is the effect also removed from the game?
 
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