Updated Killed Messaging

This commit is contained in:
Ghostrider [GRG] 2023-09-16 04:47:24 -04:00
parent 0a7dc41e71
commit 7a75952f87
4 changed files with 15 additions and 12 deletions

View File

@ -129,8 +129,7 @@ if (_creditKill) then
_unit distance _instigator,
_killstreak
];
private _players = allPlayers deleteAt (allPlayers find _instigator);
[_instigator, _reward, _experience, name _unit, _unit distance _instigator, getText(configFile >> "CfgWeapons" >> currentWeapon _instigator >> "displayName"), _killstreak, GMS_killMessageToAllPlayers] remoteExec ["GMSCore_fnc_killedMessages",_players];
[_instigator, _reward, _experience, name _unit, _unit distance _instigator, getText(configFile >> "CfgWeapons" >> currentWeapon _instigator >> "displayName"), _killstreak, GMS_killMessageTypesKiller] remoteExec ["GMSCore_fnc_killedMessages",[_instigator]];
[_instigator, _reward, _experience, name _unit, _unit distance _instigator, getText(configFile >> "CfgWeapons" >> currentWeapon _instigator >> "displayName"), _killstreak, GMS_killMessageToAllPlayers,GMS_killMessageTypesKiller,GMS_killMessagingRadius] remoteExec ["GMSCore_fnc_killedMessages",allPlayers];
};

View File

@ -28,9 +28,9 @@ diag_log format["[GMS] GMSCore_modtype = %1 | GMSCore_side %2 | GMSCore_unitType
// This block waits for the mod to start but is disabled for now
if ((toLowerANSI GMSCore_modtype) isEqualto "epoch") then {
//diag_log "[GMS] Waiting until EpochMod is ready...";
//waitUntil {!isnil "EPOCH_SERVER_READY"};
//diag_log "[GMS] EpochMod is ready...loading GMS";
diag_log "[GMS] Waiting until EpochMod is ready...";
waitUntil {!isnil "EPOCH_SERVER_READY"};
diag_log "[GMS] EpochMod is ready...loading GMS";
};
if ((toLowerANSI GMSCore_modtype) isEqualTo "exile") then
{

View File

@ -49,9 +49,13 @@
***********************************************************/
///////////////////////////////
// Kill message configurations
// These determine whether and when messages are sent to players regarding AI Kills or illegal kills that might damage a vehicle.
///////////////////////////////
// Kill message configurations
// This is the radius within which nearby players will receive any messages regaring AI Kills by other players
// the location of the killer is the center of this area
GMSAI_killMessagingRadius = 3000;
GMS_killMessageToAllPlayers = [
/*
These settings are used by GMSCore to determine what kinds of messages to use to notify players of a kill.

View File

@ -12,9 +12,9 @@
*/
class GMSBuild {
Version = "7.143";
Build = "261";
Date = "09-14-2023";
Version = "7.144";
Build = "262";
Date = "09-16-2023";
};
class CfgPatches {