Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: The Functions module  (Read 12124 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)