need help with procedure loops

Started by JamminNun on Thu, 11/25/2021 - 16:08

Topic category: Mod design feedback

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
need help with procedure loops
Thu, 11/25/2021 - 16:08

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 01:48, 11. Sep 2022
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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:
  • Tracker tickets:
  • 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 03:24, 24. Mar 2022
Joined Aug 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 08:07, 24. Sep 2022
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 15:28, 2. Oct 2022
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 18:54, 2. Oct 2022
Joined Mar 2022
Points:

User statistics:

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

I need a tutorial pls