A simple loop

Started by Squishybrick on

Topic category: Help with MCreator software

Last seen on 11:27, 10. Jun 2024
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
A simple loop

I have tried.. I really have, but I just can't figure this out, so I'm asking for help here.

I won't even go into details, because what I'm making is so simple.

Just imagine I want to make a block that, when placed, begins to trigger/call a procedure every minute, and does so forever.

A looping process that will still be looping/active even if you leave the game and come back.

It shouldn't matter what this procedure is.. Only that it gets called every minute, and doesn't have to be re-started if the player exits and comes back.. In other words,
if this block begins running this once-every-minute process once its placed, and I leave the game, and come back, it should still be running.

Is that even possible?

Last seen on 20:18, 17. Jun 2024
Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is this for multi player or…
Sat, 06/01/2024 - 16:51

Is this for multi player or single player?

Is it going to be one block or more than one block?

I can try to help and already have a partial answer if it is only one block, As Variables will be used to save inbetween games. My Idea is that the procedure is only called once, but inside of it it gets looped.

   PixelKid

Last seen on 11:27, 10. Jun 2024
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I figured it out.. Just had…
Mon, 06/03/2024 - 08:53

I figured it out.. Just had to make a global timer and tie the block to it, but also set the block to tic, so that it actually
updated and ran the procedure every now and then.