SetPlayerUnitAvailableBJ
- Parameters
-
unitId integer
allowed boolean
whichPlayer player
- comment
- patch
-
1.00
- Source
- Blizzard.j (suggest an edit or discuss on Github)
- 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