Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Jun 17, 2024

Conversation

PabstMirror
Copy link
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
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

addons/killtracker/XEH_postInit.sqf Outdated Show resolved Hide resolved
addons/killtracker/XEH_postInit.sqf Show resolved Hide resolved
addons/killtracker/XEH_postInit.sqf Show resolved Hide resolved
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
@PabstMirror PabstMirror merged commit c28a3d6 into master Jun 17, 2024
5 checks passed
@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