Procedures -- waiting and cross-tick

Started by zxin on

Topic category: Help with MCreator software

Joined Feb 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Procedures -- waiting and cross-tick

Hey, I'm still a total noob with procedures. I was wondering how I might have one re-occur every tick until a certain condition is fulfilled. (In my case, I'd like a block to damage the player whilst they attack it until they stop doing so.) The problem is, I'm not sure how to make a loop that waits one tick, or comes back to the procedure later. I know how to make a loop, but that will just lock the game up for the specified number of ticks.

If anyone knows how this works a little better than I do, I'd really appreciate some help.

Cheers,

~zxin

Joined Oct 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make an item or some kind of…
Wed, 08/15/2018 - 17:59

Make an item or some kind of block e.t.c and go to the tick event and add the procedure. I don't think you can add them to run constantly without a block or item tho.

Joined Feb 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hmm. Might have to open a…
Thu, 08/16/2018 - 02:31

Hmm. Might have to open a feature suggestion about an extra global event.