mirror of
https://github.com/Defent/DMS_Exile.git
synced 2024-08-30 16:52:12 +00:00
fixed!
This commit is contained in:
parent
4a9dc3d803
commit
0883b3d309
@ -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
|
||||
|
@ -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
|
||||
[
|
||||
|
Loading…
Reference in New Issue
Block a user