• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Trigger] how do you destroy a playergroup set via trigger?

Status
Not open for further replies.
to prevent leaking?

whats the custom script?

thanks! (search function on this forum is so obsolete didnt bring up shit)
Posting... and you

I'll quote the text for you:
You don't want all the kids laughing at you, because you had a question that was answered in a sticky, now do you?
- no you don't!

With other words: check the stickies, it might help :)
 
Level 16
Joined
Jul 21, 2008
Messages
1,121
You can make it like this:

  • Custom script: call DestroyForce(WitchPlayerGroup)
Below is custom script example:
  • Custom script: call DestroyForce(udg_TempPlayerGroup)
Now, we know that global player groups are removing like this:
  • Custom script: call DestroyForce(udg_<VariableName>)
Note that ''All Players'' won't create memory leak.
 
Status
Not open for further replies.
Top