setArmoryPoints: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory *\| *arma2 *\| *(New )?Scripting Commands\}\}" to "")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3")
Line 15: Line 15:
|gr1= System
|gr1= System


| Stores passed number into [USERNAME].ArmaXProfile file, where it assigns it as a value to ''armoryPoints'' entry. If entry doesn't exist, it is created.
|descr= Stores passed number into [USERNAME].ArmaXProfile file, where it assigns it as a value to ''armoryPoints'' entry. If entry doesn't exist, it is created.


|s1=  [[setArmoryPoints]] points
|s1=  [[setArmoryPoints]] points

Revision as of 21:15, 13 June 2021

Hover & click on the images for description

Description

Description:
Stores passed number into [USERNAME].ArmaXProfile file, where it assigns it as a value to armoryPoints entry. If entry doesn't exist, it is created.
Groups:
System

Syntax

Syntax:
setArmoryPoints points
Parameters:
points: Number
Return Value:
Nothing

Examples

Example 1:
setArmoryPoints (armoryPoints + 20);
Example 2:
setArmoryPoints 3.14;

Additional Information

See also:
armoryPoints

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