Lyra Starter Game - Changing GameMode without the editor in runtime

Hello,

I would like to change to change GameMode in the middle of a level without the use of the editor, for instance by triggering a boolean or an event, using preferably C++ code or a blueprint, but I do not know how. I am working with Lyra Starter Game on Unreal Engine 5.0.3. For instance, I would be able to switch from Team Death Match to Elimination mode when there’s only 10 players left, how can I do it? I heard that you could make use of plugins with Lyra to succeed this goal, but I could not manage to achieve it.

Thank you in advance.

1 Like

I haven’t yet done this myself but I’m definitely interested in it.

Please circle back here with any info you find!

Have you found a solution for this?
I am currently facing a similar problem. after studying lyra a bit I gather that in order to change game mode we have to change the current experience. but doing so crashes the game for me.
if you have a solution to properly change a gamemode or set it at the start please share. I need it to set the server game mode in my gamelift server.

I imagine you would combine the “modes” into one new one. One that turns on friendly fire when reaching 10 players, for example, and tosses up a prompt saying “Elimination”.

Specifically in the scoring blueprint, which handles scoring and progression of a match.

We don’t want to change an experience definition which is essentially the whole game just to change some small things.