Difference between revisions of "getStatValue"
Jump to navigation
Jump to search
m (links in example) |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
− | | Returns value of the given [[StatNames| stat]].|= | + | | Returns value of the given [[StatNames| stat]].|DESCRIPTION= |
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
− | | '''getStatValue''' name |= | + | | '''getStatValue''' name |SYNTAX= |
− | |p1= name: [[String]] |= | + | |p1= name: [[String]] |PARAMETER1= |
− | | [[Number]] |= | + | | [[Number]] |RETURNVALUE= |
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
− | |x1= <code>[[getStatValue]] "ExpWarlockDown"; //Checks if the "Warlock Down" Achivement was already aquired </code> |= | + | |x1= <code>[[getStatValue]] "ExpWarlockDown"; //Checks if the "Warlock Down" Achivement was already aquired </code> |EXAMPLE1= |
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
− | | [[setStatValue]] |= | + | | [[setStatValue]] |SEEALSO= |
}} | }} |
Revision as of 15:40, 7 April 2019
Description
- Description:
- Returns value of the given stat.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
getStatValue "ExpWarlockDown"; //Checks if the "Warlock Down" Achivement was already aquired
Additional Information
- See also:
- setStatValue
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