Killtracker - Remove medical from required addons (#8668)

This commit is contained in:
PabstMirror 2021-11-06 18:00:45 -05:00 committed by GitHub
parent 9689fd00f4
commit e6c6613b2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 2 deletions

View File

@ -1,7 +1,8 @@
ace_killtracker ace_killtracker
============ ============
Tracks deaths/kills and logs to the end mission disaplay. Attemps to log kills from Medical by using `ace_medical_lastDamageSource`. Tracks deaths/kills and logs to the end mission disaplay.
Show detailed info from player kills from ACE Medical by using `ace_killed` event.
Note: Requires config setup in a mission, see `killtracker.inc` - has no effect if mission is not setup correctly. Note: Requires config setup in a mission, see `killtracker.inc` - has no effect if mission is not setup correctly.

View File

@ -19,6 +19,10 @@
if ((getText (missionconfigfile >> "CfgDebriefingSections" >> QUOTE(XADDON) >> "variable")) != QXGVAR(outputText)) exitWith { if ((getText (missionconfigfile >> "CfgDebriefingSections" >> QUOTE(XADDON) >> "variable")) != QXGVAR(outputText)) exitWith {
TRACE_1("no mission debriefing config",_this); TRACE_1("no mission debriefing config",_this);
}; };
if (!(["ACE_Medical"] call EFUNC(common,isModLoaded))) exitWith {
WARNING("No ACE-Medical");
XGVAR(outputText) = "No ACE-Medical";
};
private _global = missionNamespace getVariable [QGVAR(globalSync), false]; // Global Sync (e.g. for spectator) private _global = missionNamespace getVariable [QGVAR(globalSync), false]; // Global Sync (e.g. for spectator)
INFO_1("Running Kill Tracking [Global: %1]",_global); INFO_1("Running Kill Tracking [Global: %1]",_global);

View File

@ -6,7 +6,7 @@ class CfgPatches {
units[] = {}; units[] = {};
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_medical"}; requiredAddons[] = {"ace_common"};
author = ECSTRING(common,ACETeam); author = ECSTRING(common,ACETeam);
authors[]= {"PabstMirror"}; authors[]= {"PabstMirror"};
url = ECSTRING(main,URL); url = ECSTRING(main,URL);