Skip to content

Some detonate events cannot be resolved to an entity #228

Answered by saul
Brammz asked this question in Questions
Discussion options

You must be logged in to vote

I think what is most likely happening is that the grenade is being immediately removed from the world on detonation, instead of at the next tick. I could fix this in the library by moving any entity deletions until after the events have been fired.

In the meantime, you’re best off listening for grenade projectile ‘remove’ events (on demofile.entities). Look for, CDecoyProjectile, for example, in the netprops.txt file in this repository.

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by saul
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #58 on February 28, 2021 14:00.