BIS fnc MP – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <dd class="notedate">" to " <dt><dt> <dd class="notedate">")
m (Text replacement - "<code>" to "<code style="display: block">")
 
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>case 0: ''functionName'';
<code style="display: block">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 11: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);