setStaminaScheme: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
mNo edit summary
 
Line 10: Line 10:
|s1= [[setStaminaScheme]] scheme
|s1= [[setStaminaScheme]] scheme


|p1= scheme: [[String]] - can be one of:
|p1= scheme: [[String|String Enum]]
* "Normal"
* "Normal"
* "FastDrain"
* "FastDrain"

Latest revision as of 10:53, 16 June 2024

Hover & click on the images for description

Description

Description:
Sets the scheme used for the Stamina system.
Groups:
Stamina System

Syntax

Syntax:
setStaminaScheme scheme
Parameters:
scheme: String Enum
  • "Normal"
  • "FastDrain"
  • "Exhausted"
  • "Default"
Return Value:
Nothing

Examples

Example 1:
setStaminaScheme "Default";

Additional Information

See also:
Arma 3: Stamina

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note