Small question regarding saving data between multiple worlds.
I have a main parent blueprint for a spaceship. There are several child blueprints that contain different meshes for spaceships but keeping similar traits to the parent (With some changes)
The player can buy a new ship at a port. This replaces the current player pawn with a new one that is then possessed (One of the child BPs)
I have stats such as credits and stuff of that nature saved in a game instance so that data travels fine between levels. However, how would I go about saving what Pawn the player is controlling per levels? So if I buy a ship in one level, and move to a different level, it wont start that different level as the default ship?
One idea I did have was to simply replace the mesh when buying a new ship, not the whole BP. However since other ships have different weapons, storage space, etc etc, using different BPs seemed easier for that, up until this point.
Hope I explained alright, let me know if you have any solutions to this. I’m not new to BP’s but this small issue I cant seem to figure out.