Functions – Take On Helicopters Category

From Bohemia Interactive Community
Jump to navigation Jump to search
 
mNo edit summary
Line 1: Line 1:
== [[Take On Helicopters: Functions Library]] ==
* '''Singleplayer'''
** 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'''
** 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>
* '''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>
[[Category:Take On Helicopters]]
[[Category:Take On Helicopters]]
[[Category:Take On Helicopters: Editing]]
[[Category:Take On Helicopters: Editing]]

Revision as of 07:57, 21 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 293 pages are in this category, out of 293 total.