1

How do you transfer a timer's value from one room to another in Game-maker?

I have a working timer system that counts up, but when I change rooms the timer count resets. Why does the timer count reset?

André Kool
  • 4,880
  • 12
  • 34
  • 44
  • 1
    Please do not vandalize your posts. If you believe your question is not useful or is no longer useful, it should be deleted instead of editing out all of the data that actually makes it a question. By posting on the Stack Exchange network, you've granted a non-revocable right for SE to distribute that content (under the CC BY-SA 3.0 license). By SE policy, any vandalism will be reverted. – André Kool May 23 '18 at 15:20

1 Answers1

0

The object that the timer is connected to is obviously not set to persistent (which will enable it to remain throughout all the rooms, with all of its previous data).

To enable persistence in an object: enter image description here

If it is connected to a controller object it should be easy to make it persistence but if it is part of a lesser object I recommend having it in a separate object to help with room changes (an object set to persistent of course).

Daedric
  • 502
  • 4
  • 23