Update maps/tests/TriggerMessageApi/script.js
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
This commit is contained in:
@@ -5,7 +5,7 @@ WA.onInit().then(() => {
|
|||||||
WA.room.onEnterLayer("carpet").subscribe(() => {
|
WA.room.onEnterLayer("carpet").subscribe(() => {
|
||||||
message = WA.ui.displayActionMessage({
|
message = WA.ui.displayActionMessage({
|
||||||
message:
|
message:
|
||||||
"This is a bis test message. Press space to display a chat message. Walk out to hide the message.",
|
"This is a test message. Press space to display a chat message. Walk out to hide the message.",
|
||||||
callback: () => {
|
callback: () => {
|
||||||
WA.chat.sendChatMessage("Hello world!", "The bot");
|
WA.chat.sendChatMessage("Hello world!", "The bot");
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user