• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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