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

Dragging - Fix dead body weapon carrying #10435

Merged
merged 2 commits into from
Nov 2, 2024

Conversation

Dystopian
Copy link
Contributor

When merged this pull request will:

  • title.

Looks like isNull objectParent _target part here is for unit vehicle check. Since recent Arma changes objectParent for WeaponHolderSimulated (dead body weapons) returns dead body unit. And then you can't carry these weapons anymore.

This PR forces objectParent check only for units.

@LinkIsGrim LinkIsGrim added this to the 3.18.2 milestone Oct 19, 2024
@LinkIsGrim LinkIsGrim added the kind/bug-fix Release Notes: **FIXED:** label Oct 19, 2024
@PabstMirror
Copy link
Contributor

not sure if helpful for this but there is a new 2.18 cmd
https://community.bistudio.com/wiki/getCorpseWeaponholders

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
@LinkIsGrim LinkIsGrim merged commit 609b2fe into acemod:master Nov 2, 2024
3 checks passed
LinkIsGrim pushed a commit that referenced this pull request Nov 2, 2024
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/bug-fix Release Notes: **FIXED:**
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants