BIS fnc MPexec: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{Feature[ _]arma3" to "{{Feature|arma3")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| tkoh |Game name=
| tkoh |Game name=
Line 7: Line 6:


|gr1 = Multiplayer |GROUP1=  
|gr1 = Multiplayer |GROUP1=  
____________________________________________________________________________________________


| Execute received remote execution. This function is used by [[BIS_fnc_MP]] ([[BIS_fnc_MP (Take On Helicopters)|TKOH version]]) and should not be called directly.
| Execute received remote execution. This function is used by [[BIS_fnc_MP]] ([[BIS_fnc_MP (Take On Helicopters)|TKOH version]]) and should not be called directly.
{{Feature|arma3 | Obsolete and ''completely'' effectless (empty file) since {{GVI|arma3|1.52}} and introduction of [[remoteExec]]/[[remoteExecCall]].}}
{{Feature|arma3 | Obsolete and ''completely'' effectless (empty file) since {{GVI|arma3|1.52}} and introduction of [[remoteExec]]/[[remoteExecCall]].}}
{{Informative | This page is about {{tkoh}} and {{arma3}} < 1.52.}} |DESCRIPTION=
{{Informative | This page is about {{tkoh}} and {{arma3}} < 1.52.}} |DESCRIPTION=
____________________________________________________________________________________________


| [packetName, packetValue] call [[BIS_fnc_MPexec]] |SYNTAX=
| [packetName, packetValue] call [[BIS_fnc_MPexec]] |SYNTAX=
Line 21: Line 18:


| [[Boolean]] - true if function was executed successfully |RETURNVALUE=
| [[Boolean]] - true if function was executed successfully |RETURNVALUE=
____________________________________________________________________________________________


|x1= <code>["BIS_fnc_MP_packet", ["Hello World", "hint", [[true]], [[true]]]] [[call]] [[BIS_fnc_MPexec]];</code> |EXAMPLE1=
|x1= <code>["BIS_fnc_MP_packet", ["Hello World", "hint", [[true]], [[true]]]] [[call]] [[BIS_fnc_MPexec]];</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[BIS_fnc_MP]], [[remoteExec]], [[remoteExecCall]] |SEEALSO=
| [[BIS_fnc_MP]], [[remoteExec]], [[remoteExecCall]] |SEEALSO=

Revision as of 22:52, 16 January 2021

Hover & click on the images for description

Description

Description:
Execute received remote execution. This function is used by BIS_fnc_MP (TKOH version) and should not be called directly.
Arma 3
Obsolete and completely effectless (empty file) since Arma 3 logo black.png1.52 and introduction of remoteExec/remoteExecCall.
This page is about Take On Helicopters and Arma 3 < 1.52.
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 (TKOH) function; see their description 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_MPremoteExecremoteExecCall

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

Notes

Bottom Section