• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

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