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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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

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.

3 participants