This commit is contained in:
eraser1 2016-06-29 17:53:11 -05:00
parent 4a9dc3d803
commit 0883b3d309
3 changed files with 12 additions and 7 deletions

View File

@ -6,10 +6,11 @@
Usage:
[
_messageTitle,
_messageTitle, // <string> The title of the message
[
_messageColor,
_message
_titleColor, // <string> The color of the message (in hex colors)
_message, // <any> The actual message. Usually a string.
_status // <string> (OPTIONAL) The mission status. eg "win" or "lose". Currently only used on Exile Toasts.
]
] call DMS_fnc_BroadcastMissionStatus;
@ -43,9 +44,9 @@ if !(_message isEqualType "") then
};
private _status =
if ((count _this)>2) then
if ((count _messageInfo)>2) then
{
_this select 2
_messageInfo select 2
}
else
{
@ -60,7 +61,7 @@ private _status =
format["%1: %2",toUpper _messageTitle,_message] remoteExecCall ["systemChat",-2];
};
case "ExileToasts":
case "exiletoasts":
{
private _toast_type =
switch (_status) do

View File

@ -125,7 +125,8 @@ if ((!isNull _playerObj) && {(_playerUID != "") && {_playerObj isKindOf "Exile_U
{
private _group = group _playerObj;
private _members = units _group;
if (!(_group isEqualTo ExileGraveyardGroup) && {(count _members)>1}) then
//if (!(_group isEqualTo ExileGraveyardGroup) && {(count _members)>1}) then
if ((count _members)>1) then
{
private _msg = format
[

View File

@ -150,6 +150,9 @@ ___
# Changelog:
### Main Branch
#### June 29, 2016 (6:00 PM CST-America):
* Fixed a few issues (script errors, missions not broadcasting, group kill notifications not broadcasting).
#### June 29, 2016 (4:00 PM CST-America):
* **NEW CONFIG VALUES**