setArmoryPoints: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")  | 
				Lou Montana (talk | contribs)  m (Text replacement - "_{10,} " to "")  | 
				||
| Line 1: | Line 1: | ||
{{Command|Comments=  | {{Command|Comments=  | ||
| arma2 |Game name=  | | arma2 |Game name=  | ||
| Line 7: | Line 6: | ||
|gr1= System |GROUP1=  | |gr1= System |GROUP1=  | ||
| 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=  | | 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=  | ||
| Line 17: | Line 14: | ||
| [[Nothing]] |RETURNVALUE=  | | [[Nothing]] |RETURNVALUE=  | ||
|x1= <code>[[setArmoryPoints]] ([[armoryPoints]] + 20);</code>|EXAMPLE1=  | |x1= <code>[[setArmoryPoints]] ([[armoryPoints]] + 20);</code>|EXAMPLE1=  | ||
| Line 23: | Line 19: | ||
|x2= <code>[[setArmoryPoints]] 3.14;</code> |EXAMPLE2=  | |x2= <code>[[setArmoryPoints]] 3.14;</code> |EXAMPLE2=  | ||
| [[armoryPoints]] |SEEALSO=  | | [[armoryPoints]] |SEEALSO=  | ||
Revision as of 02:47, 17 January 2021
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:
 - System
 
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