I'm making a triggered Shockwave spell in JASS right now, and am using Kattana's Local Handle Vars.
With a timer to move a dummy projectile, a method I used often in GUI for such a spell was to group units within range of the projectile every tick of the timer, then add them to an 'already damaged' unit group if they had not yet been damaged. I intended to do the same in JASS, but I couldn't find a way to store a group in the timer. There's no GetHandleGroup function, and although I tried to make one myself based on the others like it, it didn't work. I've tried using a global, but that would make the spell lose MUI.
Is there another system I could use with this functionality, or can Handle Vars support this? How so, if the latter? Help would be very much appreciated.
With a timer to move a dummy projectile, a method I used often in GUI for such a spell was to group units within range of the projectile every tick of the timer, then add them to an 'already damaged' unit group if they had not yet been damaged. I intended to do the same in JASS, but I couldn't find a way to store a group in the timer. There's no GetHandleGroup function, and although I tried to make one myself based on the others like it, it didn't work. I've tried using a global, but that would make the spell lose MUI.
Is there another system I could use with this functionality, or can Handle Vars support this? How so, if the latter? Help would be very much appreciated.