So after 2 years, my mod is finally ready for beta testing.
Or so I thought.
It turns out my quests don't save.
'>
I had first applied the variables to a plot item the PC carried. And this worked, only, it would update the variable for every single PC because every PC had the same item.
So I changed it to apply the variable to the PC itself. This kept every PC from receiving the new variables, but as I thought would happen, the variable information doesn't save when the server resets.
I had borrowed a script from the mod I used to play on that uses SetCampaignString.
SetCampaignString("PBA", "LastSafePoint", "SafePointPirgalos", oPC);
This would save a location variable so that the PC could log in from the last town they visited.
I just now tried replacing SetLocalInt with SetCampaignString, but honestly, I don't really know how to use SetCampaignString.
How can I get variables to save for PC's and not have them apply to all PC's?
And how can I echo the information within SetCampaignString inside the game so that I can see if what I am doing is working?
As soon as I can get the quests to save I'll be able to begin Beta Testing
Thanks