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

Money dropped from players when killed would sink into the ground sometimes #507

Closed
Jermin opened this Issue Jan 5, 2018 · 6 comments

Comments

Projects
None yet
3 participants
@Jermin

Jermin commented Jan 5, 2018

The object searcher can find it. But we can't see it where it is marked.

@AgentRev

This comment has been minimized.

Show comment
Hide comment
@AgentRev

AgentRev Jan 5, 2018

Member

Sounds like an Arma bug that I can't fix.

Member

AgentRev commented Jan 5, 2018

Sounds like an Arma bug that I can't fix.

@Jermin

This comment has been minimized.

Show comment
Hide comment
@Jermin

Jermin Jan 10, 2018

Weapons can get lost, too, in which case I can't find it in the object searcher.

Jermin commented Jan 10, 2018

Weapons can get lost, too, in which case I can't find it in the object searcher.

@AgentRev

This comment has been minimized.

Show comment
Hide comment
@AgentRev

AgentRev Jan 10, 2018

Member

That's Arma, can't do anything about that.

Member

AgentRev commented Jan 10, 2018

That's Arma, can't do anything about that.

@SanctuaryTactical

This comment has been minimized.

Show comment
Hide comment
@SanctuaryTactical

SanctuaryTactical Jan 18, 2018

Money is there, just underground. Any way we can reposition it to the RIP position when the player dies?
Yes though. Definitely an Arma bug (As is randomly losing your rifle)

SanctuaryTactical commented Jan 18, 2018

Money is there, just underground. Any way we can reposition it to the RIP position when the player dies?
Yes though. Definitely an Arma bug (As is randomly losing your rifle)

@AgentRev

This comment has been minimized.

Show comment
Hide comment
@AgentRev

AgentRev Jan 20, 2018

Member

I have found the problem. For whatever reason, sometimes getPosATL will give a negative height for corpses, and dropPlayerItems tries to spawn stuff at corpse height, so things would spawn underground. I applied a lower boundary of 0 to the height of getPosATL and it seems to have did the trick.

Sadly, I don't think I can prevent lost weapons.

Member

AgentRev commented Jan 20, 2018

I have found the problem. For whatever reason, sometimes getPosATL will give a negative height for corpses, and dropPlayerItems tries to spawn stuff at corpse height, so things would spawn underground. I applied a lower boundary of 0 to the height of getPosATL and it seems to have did the trick.

Sadly, I don't think I can prevent lost weapons.

@AgentRev

This comment has been minimized.

Show comment
Hide comment
@AgentRev
Member

AgentRev commented Jan 20, 2018

@AgentRev AgentRev closed this Jan 20, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment