distributionRegion: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory\|[a-z]+[0-9]?\|Scripting Commands\}\}" to "")
m (Text replacement - "[[{{arma1}}]]" to "{{arma1}}")
Line 18: Line 18:
|gr1= System
|gr1= System


|descr= Returns the numerical index for the distribution region of this copy of [[{{arma1}}]].
|descr= Returns the numerical index for the distribution region of this copy of [[:Category:ArmA: Armed Assault|{{arma1}}]].
# USA
# USA
# Rest of the world
# Rest of the world

Revision as of 01:34, 20 July 2021

Hover & click on the images for description

Description

Description:
Returns the numerical index for the distribution region of this copy of Armed Assault.
  1. USA
  2. Rest of the world
Groups:
System

Syntax

Syntax:
distributionRegion
Return Value:
Number

Examples

Example 1:
if (distributionRegion == 1) then { hint "miles"; } else { hint "kilometres"; };

Additional Information

See also:
productVersion

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