setArmoryPoints: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) mNo edit summary |
m (template:command argument fix) |
||
Line 12: | Line 12: | ||
| '''setArmoryPoints''' points |= Syntax | | '''setArmoryPoints''' points |= Syntax | ||
|p1= points: [[Number]]|= | |p1= points: [[Number]]|PARAMETER1= | ||
|p2= |= | |p2= |PARAMETER2= | ||
|p3= |= | |p3= |PARAMETER3= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>[[setArmoryPoints]] ([[armoryPoints]] + 20);</code>|= | |x1= <code>[[setArmoryPoints]] ([[armoryPoints]] + 20);</code>|EXAMPLE1= | ||
|x2= <code>[[setArmoryPoints]] 3.14;</code>|= | |x2= <code>[[setArmoryPoints]] 3.14;</code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[armoryPoints]] |= | | [[armoryPoints]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:36, 7 April 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
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