Arma 3 Scripting

Command in Stamina System

isStaminaEnabled

Also available as Markdown and JSON, or read the original wiki page.

Description

Check if stamina depletion is enabled.

Syntax

isStaminaEnabled unit

Parameters:

Returns: Boolean

Examples

Example 1

if (isStaminaEnabled player) then { hint "You can get exhausted." };

See also

Arma 3: Stamina