# How can I change the Map inside a multiplayer Session?

**URL:** <https://forums.unrealengine.com/t/how-can-i-change-the-map-inside-a-multiplayer-session/1241189>\
**Category:** Multiplayer & Networking\
**Tags:** Map, online-session, unreal-engine, Multiplayer, session, question, Blueprint\
**Created:** [July 27, 2023, 1:00am UTC](https://forums.unrealengine.com/t/how-can-i-change-the-map-inside-a-multiplayer-session/1241189 "2023-07-27T01:00:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Norwin4004](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Norwin4004](https://forums.unrealengine.com/u/Norwin4004)\
**Post date:** [July 27, 2023, 1:00am UTC](https://forums.unrealengine.com/t/how-can-i-change-the-map-inside-a-multiplayer-session/1241189/1 "2023-07-27T01:00:59Z")

</div>

Hello I am trying to create a multiplayer game where if all player except one (the winner of the round) are dead the Mapof the session is changing. I have already a Datatable with all my Maps but I have no clue how i can change the Map or how to check if all Player are still alive. Any kind of help would be great 🙂

---

<div class="post-metadata">

**Author:** ![Rev0verDrive](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rev0verdrive/32/907214_2.png) [@Rev0verDrive](https://forums.unrealengine.com/u/Rev0verDrive)\
**Post date:** [July 27, 2023, 5:52am UTC](https://forums.unrealengine.com/t/how-can-i-change-the-map-inside-a-multiplayer-session/1241189/2 "2023-07-27T05:52:51Z")

</div>

> **[Travelling in Multiplayer](https://docs.unrealengine.com/5.0/en-US/travelling-in-multiplayer-in-unreal-engine/)**
>
> An overview of how travelling works in multiplayer.

* * *

simple approach…  
Create a custom playerstate class. You’ll want one eventually anyway.

To track players alive status you need to create a variable in the PlayerState (e.g. IsAlive[bool] ). On round start or pre-start use GameState to Loop through [PlayerArray](https://docs.unrealengine.com/4.26/en-US/API/Runtime/Engine/GameFramework/AGameStateBase/PlayerArray/) and Set everyone’s IsAlive to 1.

On death you update the playerstate IsAlive to 0 on the player that just died, then immediately have the GS loop though and get a count of total alive. If == 1, then only one is alive and you can call a map change.
