productVersion

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 2: Operation Arrowhead version 1.62
  

Click on the images for descriptions

Introduced in

Game:
Arma 2: Operation Arrowhead
Version:
1.62

Description

Description:
Returns the product's friendly name, identifier and version. In Arma 3 it also returns branch identifier, whether or not the game was launched using mods, and the platform.

Syntax

Syntax:
productVersion
Return Value:
Array
  • String - Product Name
  • String - Product Name Short
  • Number - Product Version Number
  • Number - Product Build Number
  • String (Arma 3) - Product Branch
  • Boolean (Arma 3) - Product is launched using mods true or vanilla false
  • String (Arma 3) - Platform ("Windows", "Linux" or "OSX")
  • String (Arma 3) - Architecture - x64 for 64bit or x86 for 32bit Since version 1.67

Examples

Example 1:
hint str productVersion; //would return ["Arma 2 OA", "arma2oa", 162, 95208] on Arma 2 OA 1.62.95208
Example 2:
hint str productVersion; //["Arma 3","Arma3",137,128764,"Development",false,"Windows"]

Additional Information

Multiplayer:
-
See also:
supportInforequiredVersion

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To