distributionRegion: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma1 |Game name=
| arma1


|1.05|Game version=
|1.05


|gr1= System |GROUP1=
|gr1= System


| Returns the numerical index for the distribution region of this copy of [[{{arma1}}]].
| Returns the numerical index for the distribution region of this copy of [[{{arma1}}]].
# USA
# USA
# Rest of the world |DESCRIPTION=
# Rest of the world


| [[distributionRegion]] |SYNTAX=
| [[distributionRegion]]


| [[Number]] |RETURNVALUE=
| [[Number]]
   
   
|x1= <code>[[if]] ([[distributionRegion]] == 1) [[then]] { [[hint]] "miles"; } [[else]] { [[hint]] "kilometres"; };</code> |EXAMPLE1=
|x1= <code>[[if]] ([[distributionRegion]] == 1) [[then]] { [[hint]] "miles"; } [[else]] { [[hint]] "kilometres"; };</code>


| [[productVersion]] |SEEALSO=
| [[productVersion]]
}}
}}



Revision as of 00:27, 18 January 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