param adjustments

This commit is contained in:
IT07 2016-06-10 14:59:06 +02:00
parent f8d1496af5
commit b86912639d

View File

@ -43,8 +43,7 @@ if (_this isEqualType []) then
} forEach _arr; } forEach _arr;
}; };
_targets = param [1, [], [[]]]; _targets = param [1, [], [[]]];
_mode = param [2, "", [""]]; if (_this select 0 isEqualType []) then // mission notification
if (_this select 0 isEqualType []) then
{ {
_mode = (_this select 0) param [0, -1, [0]]; _mode = (_this select 0) param [0, -1, [0]];
_title = (_this select 0) param [1, "DEFAULT TITLE", [""]]; _title = (_this select 0) param [1, "DEFAULT TITLE", [""]];
@ -52,8 +51,9 @@ if (_this isEqualType []) then
_msg = [_mode, _title, _msgLine]; _msg = [_mode, _title, _msgLine];
_targets call _broadCast; _targets call _broadCast;
}; };
if (_this select 0 isEqualType "") then if (_this select 0 isEqualType "") then // systemchat broadcast
{ {
_mode = param [2, "", [""]];
_msg = param [0, "", [""]]; _msg = param [0, "", [""]];
_targets call _broadCast; _targets call _broadCast;
}; };