# RPG Level loading battle help

**URL:** <https://forums.unrealengine.com/t/rpg-level-loading-battle-help/31961>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [June 8, 2015, 2:51am UTC](https://forums.unrealengine.com/t/rpg-level-loading-battle-help/31961 "2015-06-08T02:51:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![5Kwatts](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@5Kwatts](https://forums.unrealengine.com/u/5Kwatts)\
**Post date:** [June 8, 2015, 2:51am UTC](https://forums.unrealengine.com/t/rpg-level-loading-battle-help/31961/1 "2015-06-08T02:51:45Z")

</div>

Hi everyone,

I’m having an issue on my battle start for my RPG. It plays similar to how Final Fantasy 5-9 where you have a world map and then a battle state. I’m been trying to figure this out all day and not getting anywhere so I’m asking for a bit of guidance.

What I’m wanting to do once the random battle starts, load the battle stage, create all pre-req battle info/actors/stats/etc. and begin battle. What I’m doing currently is once battle starts, I will load a new level using GetWorld()-\>ServerTravel(). This works and the battle map is loaded but my player actor/controller/game mode is reset. I need a way to indicate that I am now in battle mode so I can clear my input from my PC and bind my battle inputs, load my enemies/party members and then start the battle.

Can someone guide me in the right direction?

Thanks.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6d3a5d00](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6d3a5d00](https://forums.unrealengine.com/u/anonymous_user_6d3a5d00)\
**Post date:** [June 8, 2015, 5:22am UTC](https://forums.unrealengine.com/t/rpg-level-loading-battle-help/31961/2 "2015-06-08T05:22:26Z")

</div>

You need to use Game and Player instancing to store data inter-level, as the engine will reset everything normally.

Rama has a good article on what to do:

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

---

<div class="post-metadata">

**Author:** ![5Kwatts](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@5Kwatts](https://forums.unrealengine.com/u/5Kwatts)\
**Post date:** [June 8, 2015, 3:35pm UTC](https://forums.unrealengine.com/t/rpg-level-loading-battle-help/31961/3 "2015-06-08T15:35:33Z")

</div>

This looks like exactly what I needed. I’ll give it a try out tonight when I get to my dev machine and reply back if I have any issues.

Thanks shigan!
