setStaminaScheme: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (formatting)
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:


|game1= arma3
|game1= arma3
|version1= 1.54
|version1= 1.54


Line 9: Line 8:
|descr= Sets the scheme used for the Stamina system.
|descr= Sets the scheme used for the Stamina system.


|p1= scheme: [[String]] - can be "Normal", "FastDrain", "Exhausted" or "Default"
|s1= [[setStaminaScheme]] scheme
 
|p1= scheme: [[String]] - can be one of:
* "Normal"
* "FastDrain"
* "Exhausted"
* "Default"


|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 11:24, 13 May 2022

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 - can be one of:
  • "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