# Stamina System (scripting commands)

- [allowSprint](../../commands/allowSprint.md): Force player to run/jog if set to false.
- [enableAimPrecision](../../commands/enableAimPrecision.md): Set whether animation's aim precision affects weapon sway.
- [enableFatigue](../../commands/enableFatigue.md): Enables/Disables the person's fatigue.
- [enableStamina](../../commands/enableStamina.md): Enable/disable stamina system
- [forceWalk](../../commands/forceWalk.md): Forces unit to walk even if run or sprint is selected.
- [getAimingCoef](../../commands/getAimingCoef.md): Get current aiming coefficient (higher ~ less precise, default is 1)
- [getAnimAimPrecision](../../commands/getAnimAimPrecision.md): Returns aim precision for current animation
- [getAnimSpeedCoef](../../commands/getAnimSpeedCoef.md): Get coefficient for animation speed.
- [getCustomAimCoef](../../commands/getCustomAimCoef.md): Returns aimPrecision from animation state with custom value that will directly affects weapon sway size and speed.
- [getFatigue](../../commands/getFatigue.md): Returns fatigue of given unit.
- [getStamina](../../commands/getStamina.md): Get current stamina (~ seconds until depletion)
- [getWeaponSway](../../commands/getWeaponSway.md): Returns current size of weapon sway of a given unit, in radians. This command may still return a value greater 0 even if sway was effectively set to 0 with `player setCustomAimCoef 0;`.
- [isAimPrecisionEnabled](../../commands/isAimPrecisionEnabled.md): Returns true if procedural aiming precision affects weapon sway.
- [isForcedWalk](../../commands/isForcedWalk.md): Returns true if player is forced to walk with forceWalk.
- [isSprintAllowed](../../commands/isSprintAllowed.md): Returns true if player is allowed to sprint
- [isStaminaEnabled](../../commands/isStaminaEnabled.md): Check if stamina depletion is enabled.
- [setAnimSpeedCoef](../../commands/setAnimSpeedCoef.md): Sets a coefficient for animation speed (0.5 will play animations half the speed, 2 twice the speed).
- [setCustomAimCoef](../../commands/setCustomAimCoef.md): Set custom aim precision coefficient for weapon sway
- [setFatigue](../../commands/setFatigue.md): Sets the person's fatigue, from 0 to 1.
- [setStamina](../../commands/setStamina.md): Set units' stamina (seconds until depletion)
- [setStaminaScheme](../../commands/setStaminaScheme.md): Sets the scheme used for the Stamina system.
