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:
|
Usage:
|
||||||
[
|
[
|
||||||
_messageTitle,
|
_messageTitle, // <string> The title of the message
|
||||||
[
|
[
|
||||||
_messageColor,
|
_titleColor, // <string> The color of the message (in hex colors)
|
||||||
_message
|
_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;
|
] call DMS_fnc_BroadcastMissionStatus;
|
||||||
|
|
||||||
@ -43,9 +44,9 @@ if !(_message isEqualType "") then
|
|||||||
};
|
};
|
||||||
|
|
||||||
private _status =
|
private _status =
|
||||||
if ((count _this)>2) then
|
if ((count _messageInfo)>2) then
|
||||||
{
|
{
|
||||||
_this select 2
|
_messageInfo select 2
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -60,7 +61,7 @@ private _status =
|
|||||||
format["%1: %2",toUpper _messageTitle,_message] remoteExecCall ["systemChat",-2];
|
format["%1: %2",toUpper _messageTitle,_message] remoteExecCall ["systemChat",-2];
|
||||||
};
|
};
|
||||||
|
|
||||||
case "ExileToasts":
|
case "exiletoasts":
|
||||||
{
|
{
|
||||||
private _toast_type =
|
private _toast_type =
|
||||||
switch (_status) do
|
switch (_status) do
|
||||||
|
@ -125,7 +125,8 @@ if ((!isNull _playerObj) && {(_playerUID != "") && {_playerObj isKindOf "Exile_U
|
|||||||
{
|
{
|
||||||
private _group = group _playerObj;
|
private _group = group _playerObj;
|
||||||
private _members = units _group;
|
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
|
private _msg = format
|
||||||
[
|
[
|
||||||
|
@ -150,6 +150,9 @@ ___
|
|||||||
# Changelog:
|
# Changelog:
|
||||||
|
|
||||||
### Main Branch
|
### 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):
|
#### June 29, 2016 (4:00 PM CST-America):
|
||||||
* **NEW CONFIG VALUES**
|
* **NEW CONFIG VALUES**
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user