Way to check every second instead of every tick

Started by Dashy22 on

Topic category: Help with MCreator software

Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Way to check every second instead of every tick

I need to make a kinda complex check in a procedure always or all the time.

But i don't need to do it every single tick, and it is making the game kinda laggy

I only need it like once every second or every 10 ticks.

 

Please and thanks 

Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
make a global var where…
Tue, 12/19/2023 - 02:20

make a global var where every tick it adds 1 to it
if global var is 10 then do whatever then make global var 0  before the add 1 to it

Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thanks!
Mon, 12/25/2023 - 18:04

thanks!