What it does
dialogue.say takes speaker, text and duration. duration is optional.
The API says: one-shot popup
Signature
dialogue.say(speaker, text, duration?)Arguments
speakertextdurationoptional
Example · generated
function start() { dialogue.say(1, 'Hello');}dialogue.say is called with values of the shape its signature asks for. The code sits in start(), which the engine calls once, when the entity spawns.