setStaminaScheme: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "^<!--.*--> " to "")
m (formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command
|arma3
 
|1.54
|game1= arma3
 
|version1= 1.54


|gr1= Stamina System
|gr1= Stamina System


| Set stamina bar color. The scheme can be "Normal", "FastDrain", "Exhausted" or "Default".
|descr= Sets the scheme used for the Stamina system.
| '''setStaminaScheme''' scheme
 
|p1= scheme: [[String]] - can be "Normal", "FastDrain", "Exhausted" or "Default"
|p1= scheme: [[String]] - can be "Normal", "FastDrain", "Exhausted" or "Default"
| Nothing
|x1= <code>[[setStaminaScheme]] "Default";
</code>
| [[Arma 3 Stamina]]
|
}}


|r1= [[Nothing]]


{{GameCategory|arma3|Scripting Commands}}
|x1= <code>[[setStaminaScheme]] "Default";</code>
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]


|seealso= [[Arma 3 Stamina]]


{{GameCategory|arma3|New Scripting Commands}}
}}
{{GameCategory|arma3|Scripting Commands}}

Revision as of 10:19, 28 March 2021

Hover & click on the images for description

Description

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

Syntax

Syntax:
Syntax needed
Parameters:
scheme: String - can be "Normal", "FastDrain", "Exhausted" or "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