On this pageFunction: UnitAddSleepPerm() UnitAddSleepPerm(whichUnit, add): void Defined in: common.j.d.ts:17210 Parameters whichUnit unit unit add boolean boolean Returns void nothing See https://lep.duckdns.org/jassbot/doc/UnitAddSleepPerm