color instead of type

This commit is contained in:
IT07 2016-09-19 18:42:54 +02:00
parent ad5283c90c
commit 322a4de74b

View File

@ -5,7 +5,7 @@
will put mission notification on either all screens or just on given will put mission notification on either all screens or just on given
Params: Params:
_this select 0: SCALAR - mission type (AI mode) _this select 0: SCALAR - mission color
_this select 1: STRING - notification title _this select 1: STRING - notification title
_this select 2: STRING - notification message _this select 2: STRING - notification message
_this select 3: ARRAY (optional) - specific clients to (ONLY) send notification to _this select 3: ARRAY (optional) - specific clients to (ONLY) send notification to
@ -14,9 +14,9 @@
nothing nothing
*/ */
params [ "_mt", "_title", "_line", "_to" ]; params [ "_mc", "_title", "_line", "_to" ];
if ( isNil "_to" ) then { _to = allPlayers }; if ( isNil "_to" ) then { _to = allPlayers };
{ {
VEMFrMsgToClient = [ [ _mt, _title, _line ], "" ]; VEMFrMsgToClient = [ [ _mc, _title, _line ], "" ];
( owner _x ) publicVariableClient "VEMFrMsgToClient"; ( owner _x ) publicVariableClient "VEMFrMsgToClient";
} forEach _to; } forEach _to;