setStaminaScheme: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<!-- setStaminaScheme from EXPORT -->
{{RV|type=command
{{Command|= Comments
 
|arma3|= Game name
|game1= arma3
|1.54|= Game version
|version1= 1.54
| Set stamina bar color. The scheme can be "Normal", "FastDrain", "Exhausted" or "Default". |= Description
 
| '''setStaminaScheme''' scheme |= Syntax
|gr1= Stamina System
|p1= scheme: [[String]] - can be "Normal", "FastDrain", "Exhausted" or "Default"|PARAMETER1=
 
| Nothing |RETURNVALUE=
|descr= Sets the scheme used for the Stamina system.
|x1= <code>[[setStaminaScheme]] "Default";
 
</code>|EXAMPLE1=
|s1= [[setStaminaScheme]] scheme
| [[Arma 3 Stamina]] |SEEALSO=
 
|  |MPBEHAVIOUR=
|p1= scheme: [[String]] - can be one of:
}}
* "Normal"
* "FastDrain"
* "Exhausted"
* "Default"


<h3 style='display:none'>Bottom Section</h3>
|r1= [[Nothing]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[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]]
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
}}
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]

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