Jump to content

ben@ledbylies.com

Member
  • Content Count

    2
  • Joined

  • Last visited

  • Medals

Community Reputation

1 Neutral

About ben@ledbylies.com

  • Rank
    Newbie
  1. ben@ledbylies.com

    Persistence using SaveLoad

    Update: Just had a bit of a lightbulb moment and looked at the Reforger folder structure. For anyone that finds this in the future it needs to be in: scripts\Game\GameMode\SaveLoad
  2. Hi, I'm trying to script a gamemode/mission that will persist objects, locations, resources, etc when all the players are disconnected or when the dedicated server restarts. I made the assumption based on what I was able to find online that I should be creating a struct hold the data and then I would select that struct in the SaveLoad component. I've created a test struct that inherits from SCR_JsonApiStruct and I placed it in Scripts\GameMode\SaveLoad (and tried some other locations) but it won't show up as selectable in the SaveLoad component. I'm a C# dev for work so I thought I had a good handle on how this would work but I guess the components are throwing me. Does anyone know what I'm missing or have a link to anywhere this might be documented? Thanks, Ben
×