Functions – Take On Helicopters Category

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 8: Line 8:
** 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>


[[Category:Functions]]
[[Category:Take On Helicopters]]
[[Category:Take On Helicopters]]
[[Category:Take On Helicopters: Editing]]
[[Category:Take On Helicopters: Editing]]

Revision as of 09:16, 27 October 2011

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 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.