SetPlayerColorBJ
- Parameters
-
whichPlayer player
color playercolor
changeExisting boolean
- return type
nothing
- Source code
function SetPlayerColorBJ takes player whichPlayer, playercolor color, boolean changeExisting returns nothing local group g call SetPlayerColor(whichPlayer, color) if changeExisting then set bj_setPlayerTargetColor = color set g = CreateGroup() call GroupEnumUnitsOfPlayer(g, whichPlayer, null) call ForGroup(g, function SetPlayerColorBJEnum) call DestroyGroup(g) endif endfunction
- Source
- Blizzard.j
- wc3modding.com
- SetPlayerColorBJ