Description
Detects which Arma 2 expansions and addons are available. Only works in Arma 2/Arma 2: Operation Arrowhead.
Note
Arma 2: Army of the Czech Republic is not detected by this function.
Syntax
call BIS_fnc_version
Returns: Array of Numbers - can contain:
- 0: Arma 2
- 1: Arma 2: Operation Arrowhead
- 2: Arma 2: British Armed Forces
- 4: Arma 2: Private Military Company
Examples
Example 1
private _availableExpansions = call BIS_fnc_version;
Example 2
private _playerHasPMC = 4 in (call BIS_fnc_version);