BIS fnc MPexec: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| tkoh | | tkoh | ||
|1.00 | |1.00 | ||
|gr1 = Multiplayer | |gr1 = Multiplayer | ||
| 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.}} | {{Informative | This page is about {{tkoh}} and {{arma3}} < 1.52.}} | ||
| [packetName, packetValue] call [[BIS_fnc_MPexec]] | | [packetName, packetValue] call [[BIS_fnc_MPexec]] | ||
|p1= packetName: [[String]] - packet variable name - always "BIS_fnc_MP_packet" (not used in the function) | |p1= packetName: [[String]] - packet variable name - always "BIS_fnc_MP_packet" (not used in the function) | ||
|p2= packetValue: [[Array]] - format [params, functionName, target, isSpawn, isPersistent]. Packet sent by [[BIS_fnc_MP]] ([[BIS_fnc_MP (Take On Helicopters)|TKOH]]) function; see their description for more details | |p2= packetValue: [[Array]] - format [params, functionName, target, isSpawn, isPersistent]. Packet sent by [[BIS_fnc_MP]] ([[BIS_fnc_MP (Take On Helicopters)|TKOH]]) function; see their description for more details | ||
| [[Boolean]] - true if function was executed successfully | | [[Boolean]] - true if function was executed successfully | ||
|x1= <code>["BIS_fnc_MP_packet", ["Hello World", "hint", [[true]], [[true]]]] [[call]] [[BIS_fnc_MPexec]];</code> | |x1= <code>["BIS_fnc_MP_packet", ["Hello World", "hint", [[true]], [[true]]]] [[call]] [[BIS_fnc_MPexec]];</code> | ||
| [[BIS_fnc_MP]], [[remoteExec]], [[remoteExecCall]] | | [[BIS_fnc_MP]], [[remoteExec]], [[remoteExecCall]] | ||
}} | }} | ||
Revision as of 22:22, 17 January 2021
Description
- Description:
- Execute received remote execution. This function is used by BIS_fnc_MP (TKOH version) and should not be called directly.
- 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