armoryPoints: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|" to "|")
m (Text replacement - "<code>_([a-zA-Z0-9_]+) = \[\[([a-zA-Z0-9]+)\]\];?<\/code>" to "<sqf>_$1 = $2;</sqf>")
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma2
|game1= arma2
|1.00
|version1= 1.00


|game2= arma2oa
|game2= arma2oa
Line 15: Line 15:
|gr1= System
|gr1= System


| Returns, stored in [USERNAME].ArmaXProfile, value of ''armoryPoints'' entry. If the entry doesn't exist, it returns 0.
|descr= Returns, stored in [USERNAME].ArmaXProfile, value of ''armoryPoints'' entry. If the entry doesn't exist, it returns 0.


| '''armoryPoints'''
|s1= '''armoryPoints'''


|r1= [[Number]]
|r1= [[Number]]


|x1= <code>_points = [[armoryPoints]];</code>
|x1= <sqf>_points = armoryPoints;</sqf>


|seealso= [[setArmoryPoints]]
|seealso= [[setArmoryPoints]]
}}
}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Latest revision as of 22:21, 7 May 2022

Hover & click on the images for description

Description

Description:
Returns, stored in [USERNAME].ArmaXProfile, value of armoryPoints entry. If the entry doesn't exist, it returns 0.
Groups:
System

Syntax

Syntax:
armoryPoints
Return Value:
Number

Examples

Example 1:
_points = armoryPoints;

Additional Information

See also:
setArmoryPoints

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