Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: naktim0819 on April 07, 2013, 09:11:46 PM
-
Why when Reset Level ,my level state does not return to the starting value?
I ever try use "Restart Level", " Load level Num", "Load Level"
my level state velue not return to the game first value?
I also need to do something?
How should I do!?
Please and Thanks for ur help!
-
http://hutonggames.com/playmakerforum/index.php?topic=1014.msg14654#msg14654
my question are the same this question
but i saw the question at list not get the answer
Looks reset incomplete
I have some object 's animation are keeps play before I reset
I record my game's video the middle button is reset
hope can get anwser
I have try to see m2h sample
it's just level num
why it can clear ?
-
I make a little project the right up is the reset button
it's also can't reset
I also Attach my test unitypackage ing this reply
-
Are you using global variables? Or DontDestroyOnLoad?
-
I didn't use DontDestroyOnLoad?
But I have some value use global variables
So I can't use globe value?
but I hava Some value is in This Scene I need to send between
object
but not on another Scene
I need to use what variables type?
I can sent between 2 or 3 object it can use .
not on other scene and not use globe value
Thank u
-
You can use global variables, but their values are not reset on level load. If they need to reset, you should set their values manually after loading the level.
-
ok!
Thanks! Alex
so I need to set the value =0 on scene began! right!
thanks u!
If I want to save some score Ranking every time
Open the game It still on save not will be clear I want to use what Value
-
If you want to save a variable between sessions, take a look at the PlayerPref actions.