BIS fnc MP – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>" to "<code style="display: block">")
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:


== Notes pertaining to obsolete functionality ==
== Notes pertaining to obsolete functionality ==
 
<dt><dt>
<dd class="notedate">Posted on April 12, 2015 - 10:41 (UTC)</dd>
<dd class="notedate">Posted on April 12, 2015 - 10:41 (UTC)</dd>
<dt class="note">[[User:SilentSpike|SilentSpike]]</dt>
<dt class="note">[[User:SilentSpike|SilentSpike]]</dt>
Line 8: Line 8:
When using [[BIS_fnc_MP]] with a scripting command from [[CfgRemoteExecCommands]] the number of ''params'' given defines how it is executed.
When using [[BIS_fnc_MP]] with a scripting command from [[CfgRemoteExecCommands]] the number of ''params'' given defines how it is executed.


<code>
<code style="display: block">case 0: ''functionName'';
case 0: ''functionName'';
case 1: ''functionName params'';
case 1: ''functionName params'';
case 2: (''params'' select 0) ''functionName'' (''params'' select 1);
case 2: (''params'' select 0) ''functionName'' (''params'' select 1);
</code>
</code>
</dd>
</dd>

Latest revision as of 12:52, 11 January 2023

This does not execute on dedicated server. Is that a feature or bug? --Osmo 20:38, 9 May 2012 (CEST)

Notes pertaining to obsolete functionality

Posted on April 12, 2015 - 10:41 (UTC)
SilentSpike
When using BIS_fnc_MP with a scripting command from CfgRemoteExecCommands the number of params given defines how it is executed. case 0: functionName; case 1: functionName params; case 2: (params select 0) functionName (params select 1);