# How works the elimination\_result.EliminatingCharacter ?

**URL:** <https://forums.unrealengine.com/t/how-works-the-elimination-result-eliminatingcharacter/1265150>\
**Category:** Programming & Scripting\
**Tags:** fortnite-creative, unreal-editor-for-fortnite, question, fortnite\
**Created:** [August 18, 2023, 4:36pm UTC](https://forums.unrealengine.com/t/how-works-the-elimination-result-eliminatingcharacter/1265150 "2023-08-18T16:36:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![LZed](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lzed/32/921442_2.png) [@LZed](https://forums.unrealengine.com/u/LZed)\
**Post date:** [August 18, 2023, 4:36pm UTC](https://forums.unrealengine.com/t/how-works-the-elimination-result-eliminatingcharacter/1265150/1 "2023-08-18T16:36:35Z")

</div>

Hi Verse Community,

I don’t know what i’m doing bad so i post here hoping i get an answer.  
I have a little function that subscribe the EliminatedEvent() called OnEliminatedPlayer() and i try to get the EliminatingCharacter to do somethings with him.

Because i’m the only one who test my device, i place a damage volume to simulate elimination and see if i can access to the EliminatingCharacter or no.

The desciption of elimination\_result.EliminatingCharacter say :

```auto
EliminatingCharacter<native><public>:?fort_character
# fort_character that eliminated 'EliminatedCharacter' from the match. 'EliminatingCharacter' will be false when 'EliminatedCharacter' was eliminated through non-character actions, such as environmental damage. 
///

```

Ok, i see, so elimination\_result.EliminatingCharacter should be false if it’s not a character, right ?

Now this is my issue :

```auto
OnEliminatedPlayer(Result : elimination_result):void=
    if (AgentEliminated := Result.EliminatedCharacter.GetAgent[]): 
        if (Eliminator := Result.EliminatingCharacter?): 
            # I'm supposed to get here only if EliminatingCharacter is a FortCharacter but I get here every time i die from the damage_volume, so the damage_volume is as a FortCharacter ?
        else:
            # Do something else

```

i also try things like that :

```auto
OnEliminatedPlayer(Result : elimination_result):void=
    if (AgentEliminated := Result.EliminatedCharacter.GetAgent[]): 
        if (Result.EliminatingCharacter <> false): 
            # Same result here, it seems Result.EliminatingCharacter isn't false because damage_volume count as a FortCharacter ?
        else:
            # Do something else

```

Thanks to read this, and sorry for my approximative english, hope anyone can help me.

---

<div class="post-metadata">

**Author:** ![ideallyrob](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ideallyrob](https://forums.unrealengine.com/u/ideallyrob)\
**Post date:** [October 15, 2023, 10:15pm UTC](https://forums.unrealengine.com/t/how-works-the-elimination-result-eliminatingcharacter/1265150/2 "2023-10-15T22:15:13Z")

</div>

Same issue, did you come to a solution?

---

<div class="post-metadata">

**Author:** ![im\_a\_lama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/im_a_lama/32/995063_2.png) [@im\_a\_lama](https://forums.unrealengine.com/u/im_a_lama)\
**Post date:** [October 15, 2023, 11:48pm UTC](https://forums.unrealengine.com/t/how-works-the-elimination-result-eliminatingcharacter/1265150/3 "2023-10-15T23:48:18Z")

</div>

I think the `damage_volume` triggers a `Self Elimination`, so I’d say you would need to compare `AgentEliminated` with `Result.EliminationCharacter?.GetAgent[]` to work around that 👍

Also, we can display Player names now so if you wanted to debug the agent that’s being returned you could do it ([Leaderboard with Billboard - #11 by Ep8Script](https://forums.unrealengine.com/t/leaderboard-with-billboard/1310307/11))
