Jass:UnitSetCanSleepBJ
Aus Mappedia
| Funktion: UnitSetCanSleepBJ | |
|---|---|
| Parameter: | unit boolean |
| Rückgabewert: | nothing |
| Autor: | Blizzard |
| Quelle: | Blizzard.j |
| Synchron: | Unbekannt |
Code
function UnitSetCanSleepBJ takes unit whichUnit, boolean canSleep returns nothing call UnitAddSleep(whichUnit, canSleep) endfunction
Parameter
| Typ | Name | Beschreibung |
|---|---|---|
| unit | whichUnit | |
| boolean | canSleep |
