BIS fnc MPexec: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Feature|arma3 | " to "{{Feature | arma3 | ") |
Lou Montana (talk | contribs) |
||
Line 23: | Line 23: | ||
|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> | ||
|seealso= [[BIS_fnc_MP]] | |seealso= [[BIS_fnc_MP]] [[remoteExec]], [[remoteExecCall]] | ||
}} | }} |
Revision as of 22:37, 20 January 2022
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:
["BIS_fnc_MP_packet", ["Hello World", "hint", true, true]] call BIS_fnc_MPexec;
Additional Information
- See also:
- BIS_fnc_MP remoteExecremoteExecCall
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