Quantcast
Channel: General - Epic Developer Community Forums
Viewing all articles
Browse latest Browse all 9767

AgentDownedEvent stops getting emitted if the player is respawned

$
0
0

Please select what you are reporting on:

Creative

What Type of Bug are you experiencing?

Verse

Summary

When working with the DBNO Device, the AgentDownedEvent stops getting emitted if the player is respawned via the FortPlayerUtilities.Respawn function

Steps to Reproduce

2 or more players required
1.) Setup a DBNO device & listen to the AgentDownedEvent with verse
2.) Player 1 should knock player 2. Eliminate player two afterwards with verse eg. InPlayer.Damage(999.0)
3.) Respawn player 2 via FortPlayerUtilities.Respawn function and let player 1 knockout player 2 again
4.) Repeat this a few times & after 3-5 iterations you’ll end up with the observed result

Expected Result

AgentDownedEvent should get triggered every time the player is knocked

Observed Result

AgentDownedEvent stops getting triggered

Platform(s)

Windows & UEFN

Additional Notes

It’s a bit tricky since its not happening every time. It seems to appear only every few respawns. Looks like the respawn kicks the event listener out from the player some how.

In addition to that, there is a workaround to simply disable and enable the DBNO device after the player is respawned

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 9767

Trending Articles