getStatValue: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game version" to "|Game version=") |
Lou Montana (talk | contribs) (Fix Category:Pages using duplicate arguments in template calls and fix Arma 3 Stat Names link) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns value of the given [[ | | Returns value of the given stat.<br> | ||
A list of possible StatNames can be found here: [[Arma 3 Stat Names]] |DESCRIPTION= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[getStatValue]] name |SYNTAX= | ||
|p1= name: [[String]] |PARAMETER1= | |p1= name: [[String]] |PARAMETER1= | ||
Line 16: | Line 18: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[[getStatValue]] "ExpWarlockDown"; | |x1= <code>[[getStatValue]] "ExpWarlockDown"; {{cc|Checks if the "Warlock Down" Achivement was already aquired}}</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[setStatValue]] |SEEALSO= | | [[setStatValue]], [[Arma 3 Stat Names]] |SEEALSO= | ||
}} | }} | ||
Line 31: | Line 32: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
Revision as of 00:40, 1 February 2020
Description
- Description:
- Returns value of the given stat.
A list of possible StatNames can be found here: Arma 3 Stat Names - Groups:
- Uncategorised
Syntax
- Syntax:
- getStatValue name
- Parameters:
- name: String
- Return Value:
- Number (can return Nothing)
Examples
- Example 1:
getStatValue "ExpWarlockDown"; // Checks if the "Warlock Down" Achivement was already aquired
Additional Information
- See also:
- setStatValueArma 3 Stat Names
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