GetUnitsOfPlayerAndTypeId
- Parameters
-
whichPlayer player
unitid integer
- return type
group
- Source code
function GetUnitsOfPlayerAndTypeId takes player whichPlayer, integer unitid returns group local group g = CreateGroup() set bj_groupEnumTypeId = unitid call GroupEnumUnitsOfPlayer(g, whichPlayer, filterGetUnitsOfPlayerAndTypeId) return g endfunction
- Source
- Blizzard.j
- wc3modding.com
- GetUnitsOfPlayerAndTypeId