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

Medical AI - Make AI take tourniquets into account when medicing #10142

Merged
merged 2 commits into from
Jul 25, 2024

Conversation

johnb432
Copy link
Contributor

@johnb432 johnb432 commented Jul 23, 2024

When merged this pull request will:

  • This doesn't add full tourniquet support, instead it allows the AI, for the most part, to work around tourniquets used on them by players or other scripted means.
  • This PR makes the AI select a non-tourniqueted limb to medic when trying to inject drugs or use IVs. If all limbs are tourniqueted, a random limb is chosen, which will cause the medic to block on the treatment (already the case before this PR, this PR just reduces the chances of this happening).
    It also makes AI stabilise bleeding body parts only, so it will ignore tourniqueted limbs.

IMPORTANT

  • If the contribution affects the documentation, please include your changes in this pull request so the documentation will appear on the website.
  • Development Guidelines are read, understood and applied.
  • Title of this PR uses our standard template Component - Add|Fix|Improve|Change|Make|Remove {changes}.

@johnb432 johnb432 added the kind/enhancement Release Notes: **IMPROVED:** label Jul 23, 2024
@johnb432 johnb432 added this to the 3.18.0 milestone Jul 23, 2024
@johnb432 johnb432 merged commit e99d6d9 into master Jul 25, 2024
5 checks passed
@johnb432 johnb432 deleted the medical-ai-take-tourniquets-into-account branch July 25, 2024 05:49
blake8090 pushed a commit to blake8090/ACE3 that referenced this pull request Aug 18, 2024
…mod#10142)

* Make AI take tourniquets into account when medicing

* Update fnc_healingLogic.sqf
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.

2 participants