Jass documentation Database

JASS Documentation Database REFORGED


Results for the query "CountUnitsInGroup" as a "function"

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

Function CountUnitsInGroup

Line: 4912
Location: blizzard.j
Constant? no
Type: function
Arguments: group g
Returns: integer

Preview

Extra spaces may have been removed from the original file to show the function in a comfortable way.
  1. function CountUnitsInGroup takes group g returns integer
  2.     // If the user wants the group destroyed, remember that fact and clear
  3.     // the flag, in case it is used again in the callback.
  4.     local boolean wantDestroy = bj_wantDestroyGroup
  5.     set bj_wantDestroyGroup = false
  6.  
  7.     set bj_groupCountUnits = 0
  8.     call ForGroup(g, function CountUnitsInGroupEnum)
  9.  
  10.     // If the user wants the group destroyed, do so now.
  11.     if (wantDestroy) then
  12.         call DestroyGroup(g)
  13.     endif
  14.     return bj_groupCountUnits
  15. endfunction
"That guy ’s nuts! Grab ’m!" Hmmm... there's no info about this keyword... be the first one in contribute with the keyword CountUnitsInGroup. You must be logged into the site in order to give us a hand in keeping updated the information. If you don't have an account, you can create one here.
Page loaded in 0.1026 seconds.
Vivir aprendiendo.co - A place for learning stuff, in Spanish   Chaos Realm - The world of Game modders and wc3 addicts   Diplo, a gaming community   Power of Corruption, an altered melee featuring Naga and Demon. Play it now!!!   WC3JASS.com - The JASS Vault + vJASS and Zinc   Jetcraft - A Starcraft II mod   WormTastic Clan (wTc)   Warcraft RESOURCES Reforged: Modelos, mapas, proyectos y mas...