[SOLVED] How to make something show up every nth time the user loads the scene?

jaxszn

  • *
  • Posts: 13
Basically,  I have a scene and something that I want to appear on the scene, but only every 5th time that they open up the scene.

Is there a way to do this simply with Stencyl?

Or should I just set a counter on the page that goes up from 0 to 5 , up 1 each time the user loads the page, and shows the object if the count is at 5, and then resets the number back down to 0?

« Last Edit: December 29, 2015, 03:42:13 am by jaxszn »

LIBERADO

  • *
  • Posts: 2720
Or should I just set a counter on the page that goes up from 0 to 5 , up 1 each time the user loads the page, and shows the object if the count is at 5, and then resets the number back down to 0?
Yes, do it in that way, and use a Game Attribute.
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.

jaxszn

  • *
  • Posts: 13