• 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.

bj_wantDetroyGroup for Playergroups?

Status
Not open for further replies.
Level 14
Joined
Jul 1, 2008
Messages
1,314
Hello Guys,

i got a question concerning set bj_wantDestroyGroup = true

Is it possible to let Wc3 destroy Playergroups with this variable?

Greets

Edit: I am quite sure that it does, but im not 100% sure =)
 
Level 20
Joined
Apr 22, 2007
Messages
1,960
All created handles 'leak' if they're not destroyed. Have a look at this BJ (pretty sure this is the GUI "Convert player to force" thing):

JASS:
function GetForceOfPlayer takes player whichPlayer returns force
    local force f = CreateForce()
    call ForceAddPlayer(f, whichPlayer)
    return f
endfunction

That leaks if f is not destroyed later.

And no, there is no bj_wantDestroyForce.
 
Status
Not open for further replies.
Top