As you know, Game Cache's save info to be transferable to other maps within the same campaign. To save info, you need to use the 'Game Cache - Store ...' command. To store a unit (including items and abilities), you only need to use 'Game Cache - Store Unit'. Set the unit you want to store to a unit variable, like Unit1 and place it in the Store Unit command, giving you
-
Game Cache - Store Unit1 as Label of Category in (Last created game cache)
Give it a Label of which you can recognise what kind of info it is, like Hero. Now you have a command like:
-
Game Cache - Store Unit1 as Hero of Category in (Last created game cache)
Give it a category to separate stuff within the Game Cache's, like HeroCategory, and you have a trigger like
-
Game Cache - Store Unit1 as Hero of HeroCategory in (Last created game cache)
Now make a Game Cache variable where all data will be loaded from, like GameCache1, giving you a full command that allows you to save the unit's inventory, EXP, level, abilities and stuff like that. Your command will look like
-
Game Cache - Store Unit1 as Hero of HeroCategory in GameCache1
Now save GameCache1 and remove the unit you saved (unless you're not going to leave the map after saving the Game Cache, but that would be useless).
In the new map, you use the command 'Game Cache - Reload all game cache data from disk' and 'Game Cache - Restore Hero of HeroCategory from GameCache1 for <YOUR PLAYER> at <YOUR REGION> facing <YOUR DIRECTION>)'
Tadah! Your info has been stored and got loaded into your new map.