Arma 3 Scripting

Function in Diagnostic

BIS_fnc_version

Also available as Markdown and JSON, or read the original wiki page.

Description

Detects which Arma 2 expansions and addons are available. Only works in Arma 2/Arma 2: Operation Arrowhead.

Note

arma2acr is not detected by this function.

Syntax

call BIS_fnc_version

Returns: Array of Numbers - can contain:

Examples

Example 1

private _availableExpansions = call BIS_fnc_version;

Example 2

private _playerHasPMC = 4 in (call BIS_fnc_version);

See also

productVersion · requiredVersion