Update maps/tests/TriggerMessageApi/script.js
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
This commit is contained in:
parent
854d8775d5
commit
7da975749c
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue