# Best Way to Check if All Players Are Eliminated

**URL:** <https://forums.unrealengine.com/t/best-way-to-check-if-all-players-are-eliminated/1261391>\
**Category:** Verse\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, fortnite\
**Created:** [August 15, 2023, 3:36am UTC](https://forums.unrealengine.com/t/best-way-to-check-if-all-players-are-eliminated/1261391 "2023-08-15T03:36:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![PoshyPoshLad1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PoshyPoshLad1](https://forums.unrealengine.com/u/PoshyPoshLad1)\
**Post date:** [August 15, 2023, 3:36am UTC](https://forums.unrealengine.com/t/best-way-to-check-if-all-players-are-eliminated/1261391/1 "2023-08-15T03:36:49Z")

</div>

Hey Everyone!

I’m trying to make a system where when all of the players in my game are eliminated, then it Activates my End Game Device.

I’ve been trying to set something up with triggers and the End Game Device but am not sure what is the best way to do approach this situation. I’m also using a Down But Not Out Device in this game.

Thanks!

---

<div class="post-metadata">

**Author:** ![AreWeGaming](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arewegaming/32/1174860_2.png) [@AreWeGaming](https://forums.unrealengine.com/u/AreWeGaming)\
**Post date:** [August 15, 2023, 4:02am UTC](https://forums.unrealengine.com/t/best-way-to-check-if-all-players-are-eliminated/1261391/2 "2023-08-15T04:02:53Z")

</div>

You could do a Array of all Connected Players get the length of how many players connected an then in the end game device set the amount needed to end

---

<div class="post-metadata">

**Author:** ![Twin01](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/twin01/32/1077777_2.png) [@Twin01](https://forums.unrealengine.com/u/Twin01)\
**Post date:** [August 15, 2023, 5:44am UTC](https://forums.unrealengine.com/t/best-way-to-check-if-all-players-are-eliminated/1261391/3 "2023-08-15T05:44:56Z")

</div>

do the players only have one spawn?

---

<div class="post-metadata">

**Author:** ![Syedhs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Syedhs](https://forums.unrealengine.com/u/Syedhs)\
**Post date:** [August 15, 2023, 6:23am UTC](https://forums.unrealengine.com/t/best-way-to-check-if-all-players-are-eliminated/1261391/4 "2023-08-15T06:23:39Z")

</div>

Elimination can be in the form of ‘death’ - where when the player is dead, the appropriate event called ‘death’ (or any other you wish to name) is sent to server. The server then can make the judgement…

---

<div class="post-metadata">

**Author:** ![PoshyPoshLad1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PoshyPoshLad1](https://forums.unrealengine.com/u/PoshyPoshLad1)\
**Post date:** [August 15, 2023, 10:05pm UTC](https://forums.unrealengine.com/t/best-way-to-check-if-all-players-are-eliminated/1261391/5 "2023-08-15T22:05:07Z")

</div>

What I did was get an array of all the players and then ran a for loop that subscribes each of the FortCharacter to an EliminatedEvent. Next I had a function that checks to see if any players’ “IsActive” is false.

---

<div class="post-metadata">

**Author:** ![Twin01](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/twin01/32/1077777_2.png) [@Twin01](https://forums.unrealengine.com/u/Twin01)\
**Post date:** [August 16, 2023, 2:34am UTC](https://forums.unrealengine.com/t/best-way-to-check-if-all-players-are-eliminated/1261391/6 "2023-08-16T02:34:52Z")

</div>

the round automatically ends if no player is alive, as long as they are not set to respawn
