setArmoryPoints: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game version" to "|Game version=") |
Lou Montana (talk | contribs) |
||
Line 10: | Line 10: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[setArmoryPoints]] points |SYNTAX= | ||
|p1= points: [[Number]]|PARAMETER1= | |p1= points: [[Number]] |PARAMETER1= | ||
| [[Nothing]] |RETURNVALUE= | |||
____________________________________________________________________________________________ | |||
| [[Nothing]] |RETURNVALUE= | |||
|x1= <code>[[setArmoryPoints]] ([[armoryPoints]] + 20);</code>|EXAMPLE1= | |||
|x2= <code>[[setArmoryPoints]] 3.14;</code> |EXAMPLE2= | |||
|x2= <code>[[setArmoryPoints]] 3.14;</code>| | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[armoryPoints]] |SEEALSO= | | [[armoryPoints]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Revision as of 22:50, 4 September 2019
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