setStaminaScheme: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!-- setStaminaScheme from EXPORT -->
{{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"
|s1= [[setStaminaScheme]] scheme
| Nothing
|x1= <code>[[setStaminaScheme]] "Default";
</code>
| [[Arma 3 Stamina]]
|
}}


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


{{GameCategory|arma3|Scripting Commands}}
|r1= [[Nothing]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]


<dl class="command_description">
|x1= <sqf>setStaminaScheme "Default";</sqf>
<!-- BEGIN Note Section -->
<!-- END Note Section -->
</dl>


{{GameCategory|arma3|New Scripting Commands}}
|seealso= [[Arma 3: Stamina]]
{{GameCategory|arma3|Scripting Commands}}
}}

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