productVersion: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
mNo edit summary
Line 17: Line 17:


| [[Array]]
| [[Array]]
* [[String]] - Product Name,
* [[String]] - Product Name
* [[String]] - Product Name Short
* [[String]] - Product Name Short
* [[Number]] - Product Version Number
* [[Number]] - Product Version Number

Revision as of 13:32, 7 January 2015

Hover & click on the images for description

Description

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

Syntax

Syntax:
productVersion
Return Value:
Array

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]

Additional Information

See also:
supportInforequiredVersion

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