• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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