getStatValue: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Added related commands)
(format)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Gets a value from a given stat. |= Description
| Gets a stat value for given [[StatNames| StatName]]|= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''getStatValue''' [StatName] |= Syntax
| '''getStatValue''' [name] |= Syntax
 
|p1= [name]: [[Array]] |= Parameter 1
|p1= [[StatNames| StatName]]: [[String]] |= Parameter 1
|p2= [[name]]: [[String]] |= Parameter 1


| [[Number]] |= Return value
| [[Number]] |= Return value

Revision as of 07:18, 15 July 2016

Hover & click on the images for description

Description

Description:
Gets a stat value for given StatName
Groups:
Uncategorised

Syntax

Syntax:
getStatValue [name]
Parameters:
[name]: Array
name: String
Return Value:
Number

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

Notes

Bottom Section