Saving/loading Playmaker variables
Posted: Thu Aug 18, 2022 1:37 pm
Hello,
I'm trying to put together a way to save an equipped clothing system on my character. I'm still a beginner and don't know code, but am getting well acquainted with Playmaker.
What I've got going now are two objects, each with an FSM. One object "Gets" the current clothing item and stores it in an INT. The other object "Sets" the INT.
What I'd like to do is turn both off, and have the Dialogue save system fire an event to turn on the object that "Gets" and stores the INT at the time of saving, and turn on the object that "Sets" the INT at the time of loading in. I'm using a third party product for this clothing system, so I'm trying to figure out a way to integrate it in.
I may not even be going about the right away, but this is the closest I can get at the moment. I'm getting all the right variables stored properly, but getting them to only get and set at the time of saving/loading is where I'm stumped.
I'm trying to put together a way to save an equipped clothing system on my character. I'm still a beginner and don't know code, but am getting well acquainted with Playmaker.
What I've got going now are two objects, each with an FSM. One object "Gets" the current clothing item and stores it in an INT. The other object "Sets" the INT.
What I'd like to do is turn both off, and have the Dialogue save system fire an event to turn on the object that "Gets" and stores the INT at the time of saving, and turn on the object that "Sets" the INT at the time of loading in. I'm using a third party product for this clothing system, so I'm trying to figure out a way to integrate it in.
I may not even be going about the right away, but this is the closest I can get at the moment. I'm getting all the right variables stored properly, but getting them to only get and set at the time of saving/loading is where I'm stumped.