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

[JASS] IsUnitGroupEmptyBJ Native??

Status
Not open for further replies.
Level 20
Joined
Aug 13, 2013
Messages
1,696
I have a question about JASS natives and BJ's. In GUI the function is
  • (Group is empty) Equal to True
Then in JASS is
JASS:
IsUnitGroupEmptyBJ(udg_Group) == true
I've search this in JNGP Function Lists because it is a BJ (means bad?) and I want a native function. After I search that function this is now it's function:
JASS:
function IsUnitGroupEmptyBJ takes group g returns boolean
    // If the user wants the group destroyed, remember that fact and clear
    // the flag, in case it is used again in the callback.
    local boolean wantDestroy = bj_wantDestroyGroup
    set bj_wantDestroyGroup = false

    set bj_isUnitGroupEmptyResult = true
    call ForGroup(g, function IsUnitGroupEmptyBJEnum)

    // If the user wants the group destroyed, do so now.
    if (wantDestroy) then
        call DestroyGroup(g)
    endif
    return bj_isUnitGroupEmptyResult
endfunction

I dunno where is the native function in it or it has none native function?
The question is Is there any native function in this function???
 
Status
Not open for further replies.
Top