setStaminaScheme: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
mNo edit summary
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!-- setStaminaScheme from EXPORT -->
{{RV|type=command
{{Command|Comments=
|arma3|Game name=
|1.54|Game version=


|gr1= Stamina System |GROUP1=
|game1= arma3
|version1= 1.54


| Set stamina bar color. The scheme can be "Normal", "FastDrain", "Exhausted" or "Default". |DESCRIPTION=
|gr1= Stamina System
| '''setStaminaScheme''' scheme |SYNTAX=
 
|p1= scheme: [[String]] - can be "Normal", "FastDrain", "Exhausted" or "Default"|PARAMETER1=
|descr= Sets the scheme used for the Stamina system.
| Nothing |RETURNVALUE=
 
|x1= <code>[[setStaminaScheme]] "Default";
|s1= [[setStaminaScheme]] scheme
</code>|EXAMPLE1=
 
| [[Arma 3 Stamina]] |SEEALSO=
|p1= scheme: [[String|String Enum]]
|  |MPBEHAVIOUR=
* "Normal"
}}
* "FastDrain"
* "Exhausted"
* "Default"


<h3 style='display:none'>Bottom Section</h3>
|r1= [[Nothing]]
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]


<h3 style='display:none'>Notes</h3>
|x1= <sqf>setStaminaScheme "Default";</sqf>
<dl class="command_description">
<!-- BEGIN Note Section -->
<!-- END Note Section -->
</dl>


<h3 style="display:none">Bottom Section</h3>
|seealso= [[Arma 3: Stamina]]
{{GameCategory|arma3|New Scripting Commands}}
}}
{{GameCategory|arma3|Scripting Commands}}

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