BIS fnc MPexec: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " {{Function|Comments=" to "{{Function|Comments=") |
Lou Montana (talk | contribs) (Add example) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Execute received remote execution.{{Feature arma3|Obsolete and effectless since {{GVI|arma3|1.52}}}}|DESCRIPTION= | | 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]].}} | |||
{{Informative | This page is about {{tkoh}} and {{arma3}} < 1.52.}} |DESCRIPTION= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [ | | [packetName, packetValue] call [[BIS_fnc_MPexec]] |SYNTAX= | ||
|p1= | |p1= packetName: [[String]] - packet variable name - always "BIS_fnc_MP_packet" (not used in the function) |PARAMETER1= | ||
|p2= | |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 |RETURNVALUE= | | [[Boolean]] - true if function was executed successfully |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= |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= | ||
}} | }} | ||
Line 34: | Line 35: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Functions|{{uc:MPexec}}]] | [[Category:Functions|{{uc:MPexec}}]] | ||
[[Category:{{Name|tkoh}}: Functions|{{uc:MPexec}}]] | [[Category:{{Name|tkoh}}: Functions|{{uc:MPexec}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:MPexec}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:MPexec}}]] | ||
[[Category:Function Group: MP|{{uc:MPexec}}]] |
Revision as of 01:11, 6 January 2020
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:
- Uncategorised
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