setArmoryPoints: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (template:command argument fix)
Line 12: Line 12:
| '''setArmoryPoints''' points |= Syntax
| '''setArmoryPoints''' points |= Syntax


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


|p2= |= PARAMETER2
|p2= |PARAMETER2=  


|p3= |= PARAMETER3
|p3= |PARAMETER3=  


| [[Nothing]] |= RETURNVALUE
| [[Nothing]] |RETURNVALUE=  




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


____________________________________________________________________________________________
____________________________________________________________________________________________


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


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

Revision as of 11:36, 7 April 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