setStatValue: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |1.18|= Game version _________________...")
 
(Added example)
Line 18: Line 18:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= |= Example 1
|x1= <code>setStatValue ["ExpWarlockDown", 1]; //Unlocks the "Warlock Down" Steam achivement </code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 21:22, 13 July 2016

Hover & click on the images for description

Description

Description:
Sets a value to a given stat.
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:
See also needed

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

Notes

Bottom Section