need help with procedure loops

Started by JamminNun on

Topic category: Mod design feedback

Last seen on 14:51, 15. Dec 2021
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
need help with procedure loops

Long story short, I'm trying to make that when you hold a sertain item in off-hand, you will regen 1 hp every 3 seconds. BUT, I'm runing into proplems with making it actually loop. Could someone help with fixing my procedure?

 

This procedure is put into that sertain items InInventoryTick trigger.

Last seen on 08:35, 19. Nov 2023
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
this may not be a solution…
Sun, 11/28/2021 - 10:16

this may not be a solution to the problem but you should use the wait procedure block for an actual delay.
1 tick = 1/20 second

20 ticks = 1 second

Last seen on 14:51, 15. Dec 2021
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
But how would it loop then?…
Fri, 12/03/2021 - 15:43

But how would it loop then? I'm trying to loop it, not just do it once

Last seen on 22:54, 8. Dec 2022
Joined Aug 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ever gained a solution to…
Sun, 03/20/2022 - 06:54

Ever gained a solution to this? Been having trouble myself and had trouble finding answered on the internet.

Last seen on 09:57, 10. Aug 2023
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Comment me if you still need…
Mon, 07/04/2022 - 08:58

Comment me if you still need the tutorial I found it

Last seen on 14:29, 30. Aug 2023
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Could you tell me how you…
Sun, 08/14/2022 - 12:54

Could you tell me how you did it? :)

 

Last seen on 17:32, 6. Oct 2022
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I need a tutorial pls
Sun, 10/02/2022 - 13:45

I need a tutorial pls