mirror of
https://github.com/IT07/a3_vemf_reloaded.git
synced 2024-08-30 16:52:11 +00:00
29 lines
632 B
Plaintext
29 lines
632 B
Plaintext
/*
|
|
Author: IT07
|
|
|
|
Description:
|
|
will put mission notification on either all screens or just on given
|
|
|
|
Params:
|
|
_this select 0: SCALAR - mission type (AI mode)
|
|
_this select 1: STRING - notification title
|
|
_this select 2: STRING - notification message
|
|
_this select 3: ARRAY (optional) - specific clients to (ONLY) send notification to
|
|
|
|
Returns:
|
|
nothing
|
|
*/
|
|
|
|
params [
|
|
["_mt", -1, [-1]],
|
|
["_title", "", [""]],
|
|
["_line", "", [""]],
|
|
["_to", [], [[]]]
|
|
];
|
|
|
|
if ((count _to) isEqualTo 0) then { _to = allPlayers };
|
|
{
|
|
VEMFrMsgToClient = [[_mt, _title, _line], ""];
|
|
(owner _x) publicVariableClient "VEMFrMsgToClient";
|
|
} forEach _to;
|