Help with procedures - block delay

Started by fourplealisas on

Topic category: General discussion

Last seen on 13:08, 28. Jun 2021
Joined Jun 2021

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with procedures - block delay

So the problem is that the variable you mention to create the recovery system is local, which means it can only be called in this procedure. This also means that even if you have a while loop counting down, that number is mostly invalid after the procedure has been executed or called again, as the while loop will keep resetting itself. This leads to another problem with variables in MCreator, the only 2 types of variables you can use are local and global, both of which cannot be used to specify a variable for a single object or player. I've tried this before, and my only other solution is to craft some sort of item that prevents the player from using the ability or anything else on cooldown.

I suggest you check our…
Mon, 06/28/2021 - 13:38

I suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: