BIS fnc MPexec: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (see also)
m (Some wiki formatting)
 
(36 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= tkoh
____________________________________________________________________________________________
|version1= 1.00


| tkoh |= Game name
|game2= arma3
|version2= 0.50


|1.00|= Game version
|gr1= Multiplayer
____________________________________________________________________________________________


| <pre>/*
|descr= Execute received remote execution. This function is used by [[BIS_fnc_MP]] and should not be called directly.
{{Feature|arma3|Obsolete and entirely effectless (empty file) since {{GVI|arma3|1.52}} and the introduction of [[remoteExec]]/[[remoteExecCall]].}}


Description:
|s1= [packetName, packetValue] call [[BIS_fnc_MPexec]]
Execute received remote execution


Parameter(s):
|p1= packetName: [[String]] - packet variable name - always "BIS_fnc_MP_packet" (not used in the function)
_this select 0: STRING - Packet variable name (always "BIS_fnc_MP_packet")
_this select 1: ARRAY - Packet value (sent by BIS_fnc_MP function; see it's description for more details)
Returns:
BOOL - true if function was executed successfuly
*/
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_MPexec]]; --> |= Syntax
|p2= packetValue: [[Array]] format [params, functionName, target, isSpawn, isPersistent] - packet sent by [[BIS_fnc_MP]]; see its page for more details


|p1= |= Parameter 1
|r1= [[Boolean]] - true if function was executed successfully


| |= Return value
|x1= <sqf>["BIS_fnc_MP_packet", ["Hello World", "hint", true, true]] call BIS_fnc_MPexec;</sqf>
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| [[BIS_fnc_MP]] |= See also


|seealso= [[BIS_fnc_MP]] [[remoteExec]] [[remoteExecCall]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: MP|{{uc:MPexec}}]]
[[Category:Functions|{{uc:MPexec}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:MPexec}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:MPexec}}]]

Latest revision as of 20:52, 22 April 2024

Hover & click on the images for description

Description

Description:
Execute received remote execution. This function is used by BIS_fnc_MP and should not be called directly.
Arma 3
Obsolete and entirely effectless (empty file) since Arma 3 logo black.png1.52 and the introduction of remoteExec/remoteExecCall.
Execution:
call
Groups:
Multiplayer

Syntax

Syntax:
[packetName, packetValue] call BIS_fnc_MPexec
Parameters:
packetName: String - packet variable name - always "BIS_fnc_MP_packet" (not used in the function)
packetValue: Array format [params, functionName, target, isSpawn, isPersistent] - packet sent by BIS_fnc_MP; see its page for more details
Return Value:
Boolean - true if function was executed successfully

Examples

Example 1:
["BIS_fnc_MP_packet", ["Hello World", "hint", true, true]] call BIS_fnc_MPexec;

Additional Information

See also:
BIS_fnc_MP remoteExec remoteExecCall

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note