BIS fnc MPexec: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) - ([a-z -]+) \|x1=" to "|r1=$1 - $2 |x1=")
Line 17: Line 17:
|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
|r1= [[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>

Revision as of 15:34, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Multiplayer

Syntax

Syntax:
Syntax needed
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