Wait Function Found

Started by 8BitBunnie on

Topic category: Help with MCreator software

Last seen on 05:19, 29. Jul 2024
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Wait Function Found

Hey there! you're probably one of  the many people who need a wait function in Mcreator, and have looked almost everywhere for one. well there is one! it's just under the "Flow control" Tab when you're making a procedure. if you scroll all the way to the bottom, you'll see a "Wait 20 ticks then on server-side do" block! you can change the amount of ticks to anything and it'll work!

Last seen on 13:42, 1. Feb 2023
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
For anyone who sees this 20…
Wed, 03/09/2022 - 18:40

For anyone who sees this 20 ticks = 1 second!

Last seen on 19:00, 7. Jul 2023
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
But for me if i do use it…
Mon, 03/14/2022 - 18:19

But for me if i do use it absolutely nothing happens when i use it in like

When block is broken by player do:

Wait 1200 ticks on server side

Place (Block) on X Y Z 

 

and when i test it nothing happens

Last seen on 14:16, 22. Feb 2024
Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
For me it works, but not…
Tue, 02/20/2024 - 15:42

For me it works, but not with local variables, at least to my knowledge. Can someone give a solution/alternative? (for context im trying to set the players hp to a local variable's value)

Last seen on 05:19, 29. Jul 2024
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I personally don't use local…
Mon, 03/18/2024 - 03:13

I personally don't use local variables, (although I'm sure they can be useful in certain situations) and although I may be biased, I'd recommend just using a global variable instead