Undeceived 392 Posted March 30, 2017 Hi guys, is it possible to set variables which stay the same even if the player loads to an earlier point of the mission? My example: I have a cutscene and a gun fight right after it. The game is saved before the scene. If the player dies in the fight, he will have to watch the cutscene all over again. Saving the game right after the cutscene is not an option but I'd like to have a check before the scene starts if it was watched already. E.g. if (cutsceneAlreadyWatched) then {} else {cutscene code}; At the end of the cut scene I then want to set cutsceneAlreadyWatched true so that if the player dies, he won't have to watch it again. The problem now is that variables are reset to their original status when loading to an earlier point. If I set it to true and then load the game to an earlier point, it will be false again. How can I set the variable to true so that it stays true at any time (even in the past )? Thanks for your help. Share this post Link to post Share on other sites
Tankbuster 1747 Posted March 30, 2017 You need to write the variable to profilenamespace. This exists on the player, so you can store the variable on the players machine. https://community.bistudio.com/wiki/profileNamespace Share this post Link to post Share on other sites
Undeceived 392 Posted March 30, 2017 Ok, I'll check it out. Cheers, Tankbuster! Share this post Link to post Share on other sites
Undeceived 392 Posted March 31, 2017 @TankbusterYes, it worked. Thanks! 1 Share this post Link to post Share on other sites
Tankbuster 1747 Posted March 31, 2017 Woohoo! I helped! :) 2 Share this post Link to post Share on other sites