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 Treatement- PAK revives people if they get downed after pak-ing timer starts #9793

Open
ofetios opened this issue Feb 11, 2024 · 2 comments
Labels

Comments

@ofetios
Copy link
Contributor

ofetios commented Feb 11, 2024

Mods (complete and add to the following information):

  • Arma 3: 2.14
  • CBA: 3.16.1.231025
  • ACE3: 3.16.3

Description:
If you start pak-ing an unit and in the 10 seconds he goes unconscious but you're still pak-ing him he will wake up.

Steps to reproduce:
Follow [https://ace3.acemod.org/img/wiki/user/issue_flowchart.webp](this flowchart)!

  1. Hurt a unit
  2. Heal the unit
  3. Start using a PAK on the unit and have someone else shoot that unit until he goes unconscious

Expected behavior:
If he goes unconscious the pak timer should stop and the person should not wake up

Where did the issue occur?

  • Dedicated

Log Files:

  • I do not have log files for this

Additional context:
In order to PAK the code only checks if you can use a PAK right now, therefor unless the person dies you can fully heal him.

Screenshots:
Non applicable

@ofetios ofetios changed the title Medical Treatement- PAK revives people if they get downed after pak-ing starts Medical Treatement- PAK revives people if they get downed after pak-ing timer starts Feb 11, 2024
@BaerMitUmlaut
Copy link
Member

The PAK is applied at the end of the interaction, just like any other interaction, for example wheel changes.

@ofetios
Copy link
Contributor Author

ofetios commented Feb 13, 2024

Yes but currently the game checks if you can pak someone and starts the interaction, but doesn't check if you are actually supposed to be able to pak someone at the end. This allows you to fully revive someone who is downed as long as you start pak-ing him before he goes unconscious. This is indeed a rare occurrence but I thought I should report this as it probably affects a lot of other things as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants