MakeUnitsPassiveForTeam
- Parameters
-
whichPlayer player
- return type
nothing
- Source code
function MakeUnitsPassiveForTeam takes player whichPlayer returns nothing local integer playerIndex local player indexPlayer set playerIndex = 0 loop set indexPlayer = Player(playerIndex) if PlayersAreCoAllied(whichPlayer, indexPlayer) then call MakeUnitsPassiveForPlayer(indexPlayer) endif set playerIndex = playerIndex + 1 exitwhen playerIndex == bj_MAX_PLAYERS endloop endfunction
- Source
- Blizzard.j
- wc3modding.com
- MakeUnitsPassiveForTeam