setArmoryPoints: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game version" to "|Game version=")
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''setArmoryPoints''' points |SYNTAX=
| [[setArmoryPoints]] points |SYNTAX=


|p1= points: [[Number]]|PARAMETER1=  
|p1= points: [[Number]] |PARAMETER1=


|p2= |PARAMETER2=
| [[Nothing]] |RETURNVALUE=
 
____________________________________________________________________________________________
|p3= |PARAMETER3=
 
| [[Nothing]] |RETURNVALUE=  


|x1= <code>[[setArmoryPoints]] ([[armoryPoints]] + 20);</code>|EXAMPLE1=


|x1= <code>[[setArmoryPoints]] ([[armoryPoints]] + 20);</code>|EXAMPLE1=
|x2= <code>[[setArmoryPoints]] 3.14;</code> |EXAMPLE2=
|x2= <code>[[setArmoryPoints]] 3.14;</code>|EXAMPLE1=  


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[armoryPoints]] |SEEALSO=  
| [[armoryPoints]] |SEEALSO=


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=
____________________________________________________________________________________________
}}
}}



Revision as of 23:50, 4 September 2019

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:
Uncategorised

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

Notes

Bottom Section