Save player position.

  • Create savegame class blueprint type
  • players location are stored as transform type(combination of location ,rotation and scale), so make a transform variable in you savegame blueprint
  • Add an instance of your savegame subclass to the blueprint in which you want to save data.
  • set the values you need to save in the savegane variable (in your case it’s player transform ,and you can get that by using get player pawn/character function ,then drag another node and choose get actor transform and set it to the savegame variable) and pass that to the Save Game to Slot node