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." };
Also available as Markdown and JSON, or read the original wiki page.
Check if stamina depletion is enabled.
isStaminaEnabled unit
Parameters:
unit: ObjectReturns: Boolean
if (isStaminaEnabled player) then { hint "You can get exhausted." };