# How to select and Spawn different pawn for each player using UMG

**URL:** <https://forums.unrealengine.com/t/how-to-select-and-spawn-different-pawn-for-each-player-using-umg/491517>\
**Category:** Multiplayer & Networking\
**Tags:** unreal-engine, Multiplayer, pawn, CPP, question\
**Created:** [December 2, 2021, 3:43am UTC](https://forums.unrealengine.com/t/how-to-select-and-spawn-different-pawn-for-each-player-using-umg/491517 "2021-12-02T03:43:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_808b06d6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_808b06d6](https://forums.unrealengine.com/u/anonymous_user_808b06d6)\
**Post date:** [December 2, 2021, 3:43am UTC](https://forums.unrealengine.com/t/how-to-select-and-spawn-different-pawn-for-each-player-using-umg/491517/1 "2021-12-02T03:43:11Z")

</div>

I’ve been bothered by this for a week, I checked [this tutorial](http://unrealcommunity.wiki/spawn-different-pawns-for-players-in-multiplayer-ravgudcc) on community wiki and [this one](http://forums.unrealengine.com/t/uitilizing-external-user-accounts/120140). the .txt file solution does not really help, since I want to select character from UserWidget and call it later in controller ServerSetPawn using IMenuInterface.

1. I’m not very familiar with struct, can I also declare my switch pawn function in STRUCT?
2. Can IMenuInterface pass the argument of ServerSetPawnA(), …PawnB(), …PawnC() to ServerSetPawnA,B,C() in MyPlayerController\> For example, (UserWidget)Button-\>Onclicked(…::SetPawnA), MenuInterface-\>ServerSetPawnA(); (PlayerController) ServerSetPawnA();
3. I know I can possess a different pawn after postlogin into lobby, but my goal is to select at MainMenu level and spawned into lobby already with different pawns.

I just want to know can I achieve this with (CharacterButtonClicked) MenuInterface, PlayerController, and Gamemode in a flow.

---

<div class="post-metadata">

**Author:** ![Jaco001](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jaco001](https://forums.unrealengine.com/u/Jaco001)\
**Post date:** [January 28, 2022, 9:08am UTC](https://forums.unrealengine.com/t/how-to-select-and-spawn-different-pawn-for-each-player-using-umg/491517/2 "2022-01-28T09:08:12Z")

</div>

There is old but nice tutorial from Unreal Engine how to build multiplayer game with lobby and character select

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/e/3/9e37858e501deb83e0aded41eaab9d3fa4846217.jpeg "Blueprint Multiplayer: Character Select Design | 20 | v4.11 Tutorial Series | Unreal Engine") ](https://www.youtube.com/watch?v=VzV1cecL2oE)

Give it a chance 😉

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_808b06d6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_808b06d6](https://forums.unrealengine.com/u/anonymous_user_808b06d6)\
**Post date:** [February 8, 2022, 9:38am UTC](https://forums.unrealengine.com/t/how-to-select-and-spawn-different-pawn-for-each-player-using-umg/491517/4 "2022-02-08T09:38:48Z")

</div>

Hey Jaco thanks, I’ve seen this tutorial months ago. However, it has many problems like pawns won’t consist through out levels, obsolete nodes in 4.27,etc. I think I found other approaches now. It bothers me because I intended to achieve it in a standalone game, obviously you have to change saved selected-pawn everytime which is a mess if there are save points involved. No matter what, thanks for the help 😉

---

<div class="post-metadata">

**Author:** ![Jaco001](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jaco001](https://forums.unrealengine.com/u/Jaco001)\
**Post date:** [February 8, 2022, 10:18am UTC](https://forums.unrealengine.com/t/how-to-select-and-spawn-different-pawn-for-each-player-using-umg/491517/5 "2022-02-08T10:18:51Z")

</div>

Just use GameInstance to store parameters between levels. But you still need something that save/store progress of your game. GL
