Scene Reset Issue
sinbot
Member Posts: 232
Hey GS gurus! Need to fix an issue where my hero dies, a replay actor (with a reset scene attribute) is clicked but the scene does not reset because GAME attributes have been changed as well. I don't want to reset the whole game to the splash screen of course but how can i reset the game attributes as well??
Comments
Create an actor , rename it "Reset GameAttributes" , add change attributes and change every game attribute back to its default state
change attribute game.AAA to 0
change attribute game.BBB to false
change attribute game.CCC to 0
change attribute game.DDD to 0
change attribute game.EEE to true
etc...
Drag your actor in the scene and test if it works
You sir are a genius! ty!!!> @Icebox said: