Thanks for the help earlier with my question.
I have 2 other questions currently. I was wondering if there is some way I can save variables that are located in a “task” for a behavior tree. Basically in my game after a player says something to a NPC I have a variable that limits them from going down that dialogue branch again (I am using behavior trees for my dialog system).
My second question regards saving variables on actors in my level. I am currently using the save game mode and level functions when I am going from level to level (my game is an rpg game so the player is constantly going in and out of different levels") so the stuff on my player is working and saving fine but I cant seem to get actors in the level to properly save and load their information. For instance, when a player finds a new location I have a screen text pop up that is triggered by a overlap. I do not want that trigger to activate ever again however upon the player re entering the level it triggers it. I have tried implementing the save actors function but I am unsure if I am using it properly. Could you provide some guidance regarding this? thanks.