Skip to content

Kill Tracker - Add setting to show kills from vehicle to crew#10069

Merged
PabstMirror merged 2 commits intomasterfrom
crewKills
Jun 17, 2024
Merged

Kill Tracker - Add setting to show kills from vehicle to crew#10069
PabstMirror merged 2 commits intomasterfrom
crewKills

Conversation

@PabstMirror
Copy link
Copy Markdown
Contributor

Follow up to #10045 (comment)

  • Sends source and instigator to medical's setDead
  • Adds a setting to killtracker to show kills from a vehicle to all crew members
    before this, kills would usually go to the driver of a vehicle, not the trigger puller
    so this setting attempts to mimic and expand that behavior

@PabstMirror PabstMirror added the kind/enhancement Release Notes: **IMPROVED:** label Jun 14, 2024
@PabstMirror PabstMirror added this to the 3.18.0 milestone Jun 14, 2024
private _instigator = _unit getVariable [QEGVAR(medical,lastInstigator), objNull];

[_unit, _causeOfDeath, _instigator] call EFUNC(medical_status,setDead);
[_unit, _causeOfDeath, _source, _instigator] call EFUNC(medical_status,setDead);
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this change effects more than killtracker,
vanilla killed EH will also have correct killer/instigator now as well

I don't expect it to cause any problems, but it's something to remember

Comment thread addons/killtracker/XEH_postInit.sqf Outdated
Comment thread addons/killtracker/XEH_postInit.sqf
Comment thread addons/killtracker/XEH_postInit.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
@PabstMirror PabstMirror merged commit c28a3d6 into master Jun 17, 2024
@PabstMirror PabstMirror deleted the crewKills branch June 17, 2024 03:04
blake8090 pushed a commit to blake8090/ACE3 that referenced this pull request Aug 18, 2024
…#10069)

* Kill Tracker - Add setting to show kills from vehicle to crew

* Update addons/killtracker/XEH_postInit.sqf

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>

---------

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/enhancement Release Notes: **IMPROVED:**

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants