Delays execution for a period of time and calls the provided function when complete
The callback function which will be executed after the delay
The amount of time in milliseconds to delay execution
Utility.invokeLater(function() { Game.sendGameMessage("A custom message after a 300ms delay", "My Package");}, 300); Copy
Utility.invokeLater(function() { Game.sendGameMessage("A custom message after a 300ms delay", "My Package");}, 300);
Delays execution for a period of time and calls the provided function when complete