setStatValue: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " " to " ")
m (Text replacement - " \| (\[\[[a-zA-Z ]+\]\]) \|x1=" to " |r1=$1 |x1=")
Line 20: Line 20:
|p3= value: [[Number]]
|p3= value: [[Number]]


| [[Boolean]]
|r1=[[Boolean]]


|x1= <code>[[setStatValue]] ["ExpWarlockDown", 1]; {{cc|Unlocks the "Warlock Down" Steam achivement}}</code>
|x1= <code>[[setStatValue]] ["ExpWarlockDown", 1]; {{cc|Unlocks the "Warlock Down" Steam achivement}}</code>

Revision as of 22:22, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
System

Syntax

Syntax:
Syntax needed
Parameters:
[name, value]: Array
name: String
value: Number
Return Value:
Boolean

Examples

Example 1:
setStatValue ["ExpWarlockDown", 1]; // Unlocks the "Warlock Down" Steam achivement

Additional Information

See also:
getStatValueArma 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