setArmoryPoints: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(description)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Store the given amount of armory points.  |= 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.  |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''setArmoryPoints''' points |= Syntax
| '''setArmoryPoints''' points |= Syntax


|p1= points: [[Number]] ([[Integer]]) |= PARAMETER1  
|p1= points: [[Number]]|= PARAMETER1  


|p2= |= PARAMETER2  
|p2= |= PARAMETER2  
Line 21: Line 21:




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


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 20:35, 31 May 2015

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