productVersion: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "Category:Arma 2: Operation Arrowhead: New Scripting Commands List" to "Category:Arma 2: Operation Arrowhead: New Scripting Commands")
m (Text replacement - "{{uc:{{PAGENAME}}}} " to "")
Line 32: Line 32:
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_System]]
[[Category:Command_Group:_System]]

Revision as of 18:17, 8 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
System

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

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"]
Example 3:
format ["%1.%2",(productVersion#2)/100 toFixed 2,(productVersion#3)]; // returns version e.g.: "2.00.146773"

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