setStaminaScheme: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
mNo edit summary
 
(One intermediate revision by one other user not shown)
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"
Line 18: Line 18:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>setStaminaScheme "Default";</code>
|x1= <sqf>setStaminaScheme "Default";</sqf>


|seealso= [[Arma 3: Stamina]]
|seealso= [[Arma 3: Stamina]]
}}
}}

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