Functions – Take On Helicopters Category

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Fix link)
Line 4: Line 4:
** Functions can be launched in mission, intro and outro using this syntax:<br /><code>_fnc = [params] call functionName;<br />_fnc = [params] spawn functionName;</code>
** Functions can be launched in mission, intro and outro using this syntax:<br /><code>_fnc = [params] call functionName;<br />_fnc = [params] spawn functionName;</code>
* '''Multiplayer'''
* '''Multiplayer'''
** Functions replaces obsolete [[Multiplayer_framework|Multiplayer Framework]]. You can use [[BIS_fnc_MP]] to remotely call function on specific clients and set them to be persistent, so they'll be executed automatically for client upon JIP.<br /><code>[params,"functionName",target,isSpawn,isPersistent] call BIS_fnc_MP;</code>
** Functions replaces obsolete [[Arma 2: Multiplayer Framework]]. You can use [[BIS_fnc_MP]] to remotely call function on specific clients and set them to be persistent, so they'll be executed automatically for client upon JIP.<br /><code>[params,"functionName",target,isSpawn,isPersistent] call BIS_fnc_MP;</code>
* '''User Interface'''
* '''User Interface'''
** Anywhere outside running mission (user interface), refer to functions stored in UInamespace<br /><code>_fnc = [params] call (uinamespace getvariable 'functionName');<br />_fnc = [params] spawn (uinamespace getvariable 'functionName');</code>
** Anywhere outside running mission (user interface), refer to functions stored in UInamespace<br /><code>_fnc = [params] call (uinamespace getvariable 'functionName');<br />_fnc = [params] spawn (uinamespace getvariable 'functionName');</code>

Revision as of 21:41, 28 September 2020

Take On Helicopters: Functions Library

  • Singleplayer
    • Functions can be launched in mission, intro and outro using this syntax:
      _fnc = [params] call functionName;
      _fnc = [params] spawn functionName;
  • Multiplayer
    • Functions replaces obsolete Arma 2: Multiplayer Framework. You can use BIS_fnc_MP to remotely call function on specific clients and set them to be persistent, so they'll be executed automatically for client upon JIP.
      [params,"functionName",target,isSpawn,isPersistent] call BIS_fnc_MP;
  • User Interface
    • Anywhere outside running mission (user interface), refer to functions stored in UInamespace
      _fnc = [params] call (uinamespace getvariable 'functionName');
      _fnc = [params] spawn (uinamespace getvariable 'functionName');

Subcategories

This category has only the following subcategory.

Pages in category "Take On Helicopters: Functions"

The following 294 pages are in this category, out of 294 total.