Adding maps for test metadata
Documentation of metadata functions/methods
This commit is contained in:
parent
ce0a72c6ce
commit
96545c618a
16 changed files with 1571 additions and 59 deletions
15
maps/tests/Metadata/customMenu.html
Normal file
15
maps/tests/Metadata/customMenu.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<script src="http://play.workadventure.localhost/iframe_api.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
let chatbotEnabled = false;
|
||||
WA.registerMenuCommand('help', () => {
|
||||
chatbotEnabled = true;
|
||||
WA.sendChatMessage("HELP", 'Mr Robot');
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue