Hello
So i have been thinking and couldn’t find any idea on how to keep track of time for each instance of an object for ex: Furnace if player makes a furnace and goes to another scene then how can i keep track of time for the furnace?
Okay so i tried what is mentioned in this post but it is not working maybe for me i think i did the variable as shown but i can’t see any change in debugger
1 - did you even start timer anywhere in your events??
2 - why is your action to add timer to variable running without any condition?
3 - why there is no scene change under changing variable?
4 - where do you display your timer?
Go back to my post and look how it look in my events
Get it to work by replicating what you see and then you can modify it
Cause i did not check debugger i did not say anything about debugger so idk from where you get the idea to even use debugger
I have only one action to display timer in text object
And this is one and only thing you actually need to see if its working
IF you want to see timer and var then you can change text object to
"Timer "+ToString(round(TimerElapsedTime("YourTimerName")+YourGlobalVariable))+"
Variable "+ToString(YourGlobalVariable)
- Yes
2.I am trying to run it whenever i am on a new scene and keep adding the time (Maybe that is not the way i am supposed to use it) - because i tried that i didn’t add any value so i set it to work at the begining of the scene
- i tried using text but for some reason the text was not taking the global variable
You should do exactly what i did
And if it did not work come here with screenshot of what you did
Instead of doing something else and asking why it does not work
You did not provide a lot of information which makes it impossible to deduce what is the cause of your issue