Waiting 0 ticks then doing something on the server side doesn't do it

Started by RedWirePlatinum on

Topic category: Troubleshooting, bugs, and solutions

Active 19 hours ago
Joined May 2022
Points:
661

User statistics:

  • Modifications: 1
  • Forum topics: 43
  • Wiki pages: 0
  • MCreator plugins: 1
  • Comments: 138
Waiting 0 ticks then doing something on the server side doesn't do it

I know it might sound dumb at first, but I figured out how to do a "repeat # times" with a custom wait time, and realized that trying to make the first iteration happen instantly doesn't do it as waiting 0 ticks makes whatever is supposed to happen, not happen.

Active 1 month ago
Joined Aug 2022
Points:
285

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 22
set it 10, every 20 ticks =…
Thu, 03/23/2023 - 17:55

set it 10, every 20 ticks = 1 second, so it would go off half a second later, Im not 100% if that will work though

Active 19 hours ago
Joined May 2022
Points:
661

User statistics:

  • Modifications: 1
  • Forum topics: 43
  • Wiki pages: 0
  • MCreator plugins: 1
  • Comments: 138
well setting it to 1 ticks…
Fri, 03/24/2023 - 19:24

well setting it to 1 ticks also works, its just setting it to 0 that makes it not work :pensive:

Active 17 hours ago
Joined Jun 2015
Points:
910

User statistics:

  • Modifications: 3
  • Forum topics: 21
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 126
for a "wait" block to be…
Fri, 03/24/2023 - 21:37

for a "wait" block to be repeated save it as another porcrdure and call that specific procedure to a new one inside the "repeat loop" block(s). Values of 0, demicals or lower are invalid.