UnitSetCanSleepBJ

Parameters
whichUnit unit
canSleep boolean
return type
nothing
Source code
function UnitSetCanSleepBJ takes unit whichUnit, boolean canSleep returns nothing
    call UnitAddSleep(whichUnit, canSleep)
endfunction
Source
Blizzard.j
wc3modding.com
UnitSetCanSleepBJ