The search keyword must be a single word (no spaces).

Function GroupAddGroup

Line
4643
Location
blizzard.j
Constant?
no
Type
function
Arguments
group sourceGroup, group destGroup
Returns
nothing
4643
function GroupAddGroup takes group sourceGroup, group destGroup returns nothing
4644
    // If the user wants the group destroyed, remember that fact and clear
4645
    // the flag, in case it is used again in the callback.
4646
    local boolean wantDestroy = bj_wantDestroyGroup
4647
    set bj_wantDestroyGroup = false
4648
4649
    set bj_groupAddGroupDest = destGroup
4650
    call ForGroup(sourceGroup, function GroupAddGroupEnum)
4651
4652
    // If the user wants the group destroyed, do so now.
4653
    if (wantDestroy) then
4654
        call DestroyGroup(sourceGroup)
4655
    endif
4656
endfunction