getStatValue: Difference between revisions
Jump to navigation
Jump to search
(Fixed my derp and changed description to equal the ingame one.) |
Killzone Kid (talk | contribs) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Gets a stat value for given [[StatNames| StatName]]|= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''getStatValue''' name |= Syntax | | '''getStatValue''' [name] |= Syntax | ||
|p1= name: [[String]] |= Parameter 1 | |p1= [name]: [[Array]] |= Parameter 1 | ||
|p2= name: [[String]] |= Parameter 1 | |||
| [[Number]] |= Return value | | [[Number]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>getStatValue "ExpWarlockDown"; //Checks if the "Warlock Down" Achivement was already aquired </code> |= Example 1 | |x1= <code>getStatValue ["ExpWarlockDown"]; //Checks if the "Warlock Down" Achivement was already aquired </code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 06:06, 17 July 2016
Description
- Description:
- Gets a stat value for given StatName
- 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