Summary
In verse if you subscribe to a FortCharacter’s EliminatedEvent, you will get events when that FortCharacter is eliminated.
When Player A gets eliminated by Player B using the Kinetic Blade, it causes the next EliminationEvent against Player B, caused by Player A to not fire.
The DamagedEvent DOES still fire in this condition.
Minimum Repro Island code: 2940-6398-9072
Verse ref:
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }
using { /Fortnite.com/Game }
using { /Fortnite.com/Characters }
debug_manager := class(creative_device):
@editable Spawners: player_spawner_device = array{}
@editable DebugHUD: hud_message_device = hud_message_device{}
var GamePlayers: [player]logic = map{}
OnBegin<override>()<suspends>:void=
for(Spawner:Spawners):
Spawner.SpawnedEvent.Subscribe(OnPlayerSpawned)
OnPlayerSpawned(Agent:agent):void=
if(Player:=player[Agent], not GamePlayers[Player], set GamePlayers[Player] = true, FortChar:=Player.GetFortCharacter[]):
Print("player joined")
FortChar.EliminatedEvent().Subscribe(OnPlayerEliminated)
OnPlayerEliminated(ElimResult:elimination_result):void=
Print("player eliminated")
DebugHUD.Show()
Please select what you are reporting on:
Creative
What Type of Bug are you experiencing?
Verse
Steps to Reproduce
- Load into provided island code (2940-6398-9072) with 2 players (Players A and B)
- Pickup assault rifle with Player A
- As Player A, elim Player B with AR, observe debug HUD
- Pickup kinetic blade with Player A
- As Player A, elim Player B with Kinetic Blade, observe debug HUD
- As Player B, elim Player A. observe no debug HUD
Expected Result
EliminatedEvent on FortCharacter always fires when FortCharacter is eliminated
Observed Result
EliminatedEvent on FortCharacter does not fire after being eliminated by Kinetic Blade, on the player that eliminated them
Platform(s)
ALL
Island Code
2940-6398-9072