Home   Help Search Login Register  

Author Topic: The Functions module  (Read 7589 times)

0 Members and 1 Guest are viewing this topic.

Offline Spooner

  • Members
  • *
  • Mostly useless
    • Community Base Addons
The Functions module
« on: 31 May 2009, 12:35:23 »
One of the key new features of ArmA2 is that a large number of BIS functions are available, covering such things as array operations, mathematical operations and dozens of other useful things. You can browse the documentation for all of these functions in-game using a special dialog box.

* To compile the function library, so you can use any of the functions in your scripts, simply place a GameLogic/Modules/Functions object anywhere in the mission.
Code: (Run this before using any of the functions, to ensure that they have been loaded) [Select]
waituntil {!isnil "bis_fnc_init"};

* To browse the function library, just add a command to init.sqf (or put in the Functions object init) and start the mission:
Code: [Select]
[] call BIS_fnc_help;

Detailed instructions @ BIKI
List of BIS functions @ BIKI
Usefull BIS functions with examples here @ OFPEC
« Last Edit: 12 Mar 2012, 18:10:16 by h- »
[Arma 2] CBA: Community Base Addons
[Arma 1] SPON Core (including links to my other scripts)