Started by
Ettores
on
Topic category: Help with Minecraft modding (Java Edition)
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
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 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.
Ok, thanks to everyone!