Delayed procedure

Started by Ettores on Fri, 07/03/2020 - 17:12

Topic category: Help with modding (Java Edition)

Last seen on 19:41, 18. Apr 2021
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Delayed procedure
Fri, 07/03/2020 - 17:12

Hi. How to i make a delayed procedure?

Es. -Send message: [a] to: [target entity] Show in action bar:  [false]

      -Send to chat to all players:[b] <------- sent in chat 3 seconds after the first message

Last seen on 20:49, 8. Feb 2021
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
As of now there is no way to…
Sun, 07/05/2020 - 00:56

As of now there is no way to collect and use the msg that was sent that i know of.

what you could do is make a gui with input text, then make a procedure that will collect that msg and send it to all players after

the timer. but lets say 2 msges are sent before the timer goes off then what will happen is only one will pass through.

a way you could counter this is either make the timer a little faster or for every msg sent in the gui collect it and save it to a global

variable and then after X seconds sent the collected msges to all players.

The timer is Not the problem here the problem is how you choose to send the msg and how you choose to save it.

I suggest you check our…
Sun, 07/05/2020 - 13:17

I suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: https://www.youtube.com/playlist?list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei

There are some tutorials covering delay implementaiton.

Last seen on 19:41, 18. Apr 2021
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Ok, thanks to everyone!
Mon, 07/06/2020 - 10:56

Ok, thanks to everyone!