- Joined
- Apr 6, 2008
- Messages
- 96
OK, I'm kinda new to this whole "remove memory leaks" stuff, and while I really want to learn how to do it, I have a problem right with the first step :S
So, my trigger looks like this:
Event:
-A unit starts the effect of an ability
Condition:
-Ability being cast equal to XY
Action:
-Custom script: Set tempGroup = units in Region
-Unit group- Pick every unit in (Units in Region) and do (Action)
-Custom script: call DestroyGroup( udg_tempGroup )
This trigger doesn't work, and the editor keeps telling me that it is expecting a "code statement" and a "name" (whatever those things are).
Could anyone help me out please?
So, my trigger looks like this:
Event:
-A unit starts the effect of an ability
Condition:
-Ability being cast equal to XY
Action:
-Custom script: Set tempGroup = units in Region
-Unit group- Pick every unit in (Units in Region) and do (Action)
-Custom script: call DestroyGroup( udg_tempGroup )
This trigger doesn't work, and the editor keeps telling me that it is expecting a "code statement" and a "name" (whatever those things are).
Could anyone help me out please?