mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Killtracker - Remove medical from required addons (#8668)
This commit is contained in:
parent
9689fd00f4
commit
e6c6613b2a
@ -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.
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user