Description
Check if stamina depletion is enabled.
Syntax
isStaminaEnabled unit
Parameters:
unit: Object
Returns: Boolean
Examples
Example 1
if (isStaminaEnabled player) then { hint "You can get exhausted." };
Results appear below as you type; use the arrow keys to move through them.
Check if stamina depletion is enabled.
isStaminaEnabled unit
Parameters:
unit: ObjectReturns: Boolean
if (isStaminaEnabled player) then { hint "You can get exhausted." };