General scripting question here…
Let’s say I create a variable (such as an integer “Score” variable) within the Game Mode Blueprint. I load up Level 1 and in that level I do some things to score some points and the “Score” variable within the Game Mode BP is appropriately updated. If I THEN traverse to Level 2 (via an “Open Level” node) and attempt to print the “Score” to my screen, is my “Score” variable contained within my Game Mode Blueprint SUPPOSED to reflect the score I earned in Level 1 yet (if it’s the SAME game instance?) OR, does this variable get reset back to it’s default value when I close out of level 1 and go to level 2?
For variables such as a “Score” variable that I want to update consistently from level to level…where WOULD be the best place to store that variable if NOT the Game Mode BP?