BIS_fnc_version

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 2 version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 2
Version:
1.00

Description

Description:
Detects which Arma 2 expansions and addons are available. Only works in Arma 2.

Syntax

Syntax:
call BIS_fnc_version
Return Value:
Array of Numbers: can be:
  • 0: Arma 2
  • 1: Arma 2: Operation Arrowhead
  • 2: Arma 2: British Armed Forces
  • 4: Arma 2: Private Military Company

Examples

Example 1:
_availableExpansions = call BIS_fnc_version;
Example 2:
_playerHasPMC = 4 in (call BIS_fnc_version);

Additional Information

Execution:
call
Multiplayer:
-
See also:
productVersionrequiredVersion

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section