productVersion: Difference between revisions
BrettMayson (talk | contribs) mNo edit summary |
BrettMayson (talk | contribs) mNo edit summary |
||
| Line 17: | Line 17: | ||
|s1= [[productVersion]] | |s1= [[productVersion]] | ||
|r1= [[Array]] with [name, nameShort, version, buildNumber, buildType, isModded, platform, architecture, steamBranchName] | |r1= [[Array]] with [name, nameShort, version, buildNumber, buildType, isModded, platform, architecture, steamBranchName] | ||
* name: [[String]] - product name | * name: [[String]] - product name | ||
* nameShort: [[String]] - product short name | * nameShort: [[String]] - product short name | ||
Latest revision as of 10:03, 2 January 2026
Description
- Description:
- Returns the product's friendly name, identifier, version and build number.
- Groups:
- System
Syntax
- Syntax:
- productVersion
- Return Value:
- Array with [name, nameShort, version, buildNumber, buildType, isModded, platform, architecture, steamBranchName]
- name: String - product name
- nameShort: String - product short name
- version: Number - product version number
- buildNumber: Number - product build number
1.00 buildType: String - build type, can be "Stable", "Development", "Diag" or "Profile"
1.00 isModded: Boolean - is the product running with mods (true) or vanilla (false)
1.00 platform: String - can be "Windows", "Linux" or "OSX"
1.68 architecture: String - "x64" for 64bit or "x86" for 32bit
2.20 steamBranchName: String - "" (for default/public branch), "profiling" or "development"
Examples
- Example 1:
- Example 2:
- Example 3:
- Example 4:
- productVersion params ["_name", "_nameShort", "_version", "_buildNumber", "_buildType", "_isModded", "_platform", "_architecture", "_steamBranchName"];
Additional Information
- See also:
- supportInfo requiredVersion
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note