- Joined
- Aug 13, 2013
- Messages
- 1,696
I have a question about JASS natives and BJ's. In GUI the function is
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:
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???
- (Group is empty) Equal to True
JASS:
IsUnitGroupEmptyBJ(udg_Group) == true
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???