Minetest lua delay

This article is tagged with: Minetest lua delay and lua

minetest lua delay

--- example of using delay in minetest
function examplefunction()
minetest.chat_send_all("This message is 5 seconds late from before.")
end
minetest.chat_send_all("This message has been triggered from something")
minestest.after(5, examplefunction)

This article is tagged with: Minetest lua delay and lua