getStamina: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| ?\[\[([a-zA-Z0-9]+)\]\] *\|x1=" to " |r1= $1 |x1=")
m (Text replacement - " *; * +\|p1=" to " |p1=")
Line 6: Line 6:


| Get current stamina (~ seconds until depletion)
| Get current stamina (~ seconds until depletion)
| '''getStamina''' unit;
| '''getStamina''' unit
 
|p1= unit: [[Object]]
|p1= unit: [[Object]]
|r1= [[Number]]
|r1= [[Number]]

Revision as of 20:41, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Stamina System

Syntax

Syntax:
Syntax needed
Parameters:
unit: Object
Return Value:
Number

Examples

Example 1:
getStamina player;

Additional Information

See also:
Arma 3: Stamina setStamina setFatigue getFatigue

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