productVersion: Difference between revisions
Jump to navigation
Jump to search
(Added new return element for platform) |
Killzone Kid (talk | contribs) (major ver) |
||
Line 23: | Line 23: | ||
* [[String]] (Arma 3) - Product Branch | * [[String]] (Arma 3) - Product Branch | ||
* [[Boolean]] (Arma 3) - Product is launched using mods [[true]] or vanilla [[false]] | * [[Boolean]] (Arma 3) - Product is launched using mods [[true]] or vanilla [[false]] | ||
* [[String]] (Arma 3 | * [[String]] (Arma 3 v1.53.133100) - Platform (''"Windows"'', ''"Linux"'' or ''"OSX"'') | ||
|= Return value | |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ |
Revision as of 16:22, 27 October 2015
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.
- 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,"Windows"]
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