SetPlayerUnitAvailableBJ
- Parameters
-
unitId integer
allowed boolean
whichPlayer player
- return type
nothing
- Source code
function SetPlayerUnitAvailableBJ takes integer unitId, boolean allowed, player whichPlayer returns nothing if allowed then call SetPlayerTechMaxAllowed(whichPlayer, unitId, -1) else call SetPlayerTechMaxAllowed(whichPlayer, unitId, 0) endif endfunction
- Source
- Blizzard.j
- wc3modding.com
- SetPlayerUnitAvailableBJ