BIS fnc MPexec: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
|descr= Execute received remote execution. This function is used by [[BIS_fnc_MP]] and should not be called directly. | |descr= Execute received remote execution. This function is used by [[BIS_fnc_MP]] and should not be called directly. | ||
{{Feature | arma3 | Obsolete and | {{Feature|arma3|Obsolete and entirely effectless (empty file) since {{GVI|arma3|1.52}} and the introduction of [[remoteExec]]/[[remoteExecCall]].}} | ||
|s1= [packetName, packetValue] call [[BIS_fnc_MPexec]] | |s1= [packetName, packetValue] call [[BIS_fnc_MPexec]] | ||
Line 17: | Line 16: | ||
|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]] | |p2= packetValue: [[Array]] format [params, functionName, target, isSpawn, isPersistent] - packet sent by [[BIS_fnc_MP]]; see its page for more details | ||
|r1= [[Boolean]] - true if function was executed successfully | |r1= [[Boolean]] - true if function was executed successfully | ||
|x1= < | |x1= <sqf>["BIS_fnc_MP_packet", ["Hello World", "hint", true, true]] call BIS_fnc_MPexec;</sqf> | ||
|seealso= [[BIS_fnc_MP]] [[remoteExec]] [[remoteExecCall]] | |seealso= [[BIS_fnc_MP]] [[remoteExec]] [[remoteExecCall]] | ||
}} | }} |
Latest revision as of 19:52, 22 April 2024
Description
- Description:
- Execute received remote execution. This function is used by BIS_fnc_MP 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; see its page for more details
- Return Value:
- Boolean - true if function was executed successfully
Examples
- Example 1:
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