| 04-16-2007, 04:03 AM | #2 |
I'm not sure if this is relevant, but the unit group will leak. Have you thought about when the unit is being added? Um... also... what's "WaveGroup", I can't help too much if you're picking from a group that's not defined... |
| 04-16-2007, 04:35 PM | #3 |
Your integer, DarkAlcatricyTempCount, needs to be inside the loop. Or else it creates them all at 1 point and then adds 1 to the int. Oh, and make sure you clear that integer afterwards. And yes, that unit group will leak. |
| 04-16-2007, 09:14 PM | #5 |
You have yet to tell us what WaveGroup is. |
| 04-17-2007, 03:05 AM | #6 |
My fault, WaveGroup is from another function that stores all enemies to this group. I fixed the problem anyway when i found out that the "pick every unit" command would treat each picked unit as a group rather than each one individually. I redid the trigger so that it adds the units to the group, and after they have all been added, I deal damage and do the effect. Thanks for the help anyway |
| 04-17-2007, 01:06 PM | #7 |
You really should post all triggers that are relevant to the spell, because your problem could theoretically be in any of them. |
