Custom script: call DestroyGroup not working on all maps? "Unknown compile error - syntax error near 'Destroy Group'"

Status
Not open for further replies.
Level 2
Joined
Aug 14, 2024
Messages
8
Hey there,

I've been making changes to some of the melee maps and I've run into an issue with this custom script not working on certain maps. I was recently shown that I should be doing this to prevent memory leaks.
1723743087046.png

Does anyone know why this script wouldn't work on certain maps? I've used this exact trigger successfully on other melee maps. Any help is appreciated.
 
Thank you for your reply. The option to enable JassHelper is greyed out, do you have any idea how to go about enabling it?
Is your map in Lua mode? It should definitely not be greyed out otherwise.

If it is, you need to use Lua's syntax in your Custom Script and other code:
  • Custom script: DestroyGroup(udg_Mines)
^ Just remove the word "call" from it.
 
Last edited:
You guys are the fuckin' best. I love this community. Removing "call" worked perfectly, thank you so much.
 
Status
Not open for further replies.
Back
Top