setStatValue: Difference between revisions
Jump to navigation
Jump to search
(Added Link to StatNames list) |
m (Added related commands) |
||
Line 22: | Line 22: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[getStatValue]] |= See also | ||
}} | }} |
Revision as of 21:45, 13 July 2016
Description
- Description:
- Sets a value to a given stat.
A list of possible StatNames can be found here: StatNames - Groups:
- Uncategorised
Syntax
- Syntax:
- setStatValue [StatName], Value]
- Parameters:
- StatName: String
- Value: Number
- Return Value:
- Boolean
Examples
- Example 1:
setStatValue ["ExpWarlockDown", 1]; //Unlocks the "Warlock Down" Steam achivement
Additional Information
- See also:
- getStatValue
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