G General

Create your own MENUS easily! ( Menu generator, Dialogs ) - Dynamic Menu - DEMO VERSION [script]

Create your own MENUS easily! ( Menu generator, Dialogs ) - Dynamic Menu - DEMO VERSION [script]
Details
Features
Contents
Reviews

* DEMO VERSION - Product name will be displayed in all menus. Please check related items to get the full version *

This script makes it easy for you to build menus for your products.
Using DynamicMenu's API you will be able to set up dialogs and its buttons.

VERY EASY TO USE! EXAMPLES ARE PROVIDED WITH FULLY COMMENTED CODE FOR EASIER UNDERSTANDING.
USAGE IS ENDLESS AND SCRIPTING KNOWLEDGE REQUIRED IS BASIC.

Hello world case!
- You want to create a new menu? So you will call a functions called "setMenu" indicating which text to include in the menu.
- You want to add a button on the menu? So you will call a function called "setButton" indicating the menu and text to be used in the button.
- You want to detect when the button is pressed? So you will receive a message with Json format on event link_message.

FEATURES
--------

- A set of functions to create menu, buttons, sorting and so on.
- A menu can hold more than 12 buttons and automatically insert << and >> buttons to scroll through the lists.
- Handles truncation of the buttons and text to stop errors in llDialog.
- Event messages are sent when a new dialog comes up or a button is pressed.

HOW TO START
------------
First of all, copy in a box the scripts in this order:
1. DynamicMenu
2. DynamicMenu_Cryptic

When you touch the box a dialog will comes up.
DynamicMenu_Cryptic comes with a basic example trying to use the most important features.
It is recommended to play a few minutes with the menus and after that open and read the script DynamicMenu_Cryptic.
You will find a short code fully commented. You can try to modify this script and adapt it for what you need.
There are more functions available that maybe the example is not using so, take a look on DynamicMenu_Cryptic script where you will find all of them.

FUNCTIONS PROVIDED
------------------

DYNAMICMENU_setlinkMessageNum(integer linkMessageNumToSet)
Change the linkMessageNum used to communicate with DynamicMenu script. By default -1.

DYNAMICMENU_setListenChannel(integer listenChannelToSet)
Change the listen channel used in the dialogs. By default -1.

DYNAMICMENU_setUser(key idUserToSet)
Change the active user.

DYNAMICMENU_setListenOff()
Deactivate the listen event. If deactivated buttons pressed won't be detected.

DYNAMICMENU_setListenOn()
Activate the listen event.

DYNAMICMENU_showMenu(string idMenuToShow)
Show a menu.

DYNAMICMENU_setMenu(string idMenuToSet, string descMenuToSet)
Setup a menu.

DYNAMICMENU_setButton(string idMenuParent,
string buttonDesc)
Setup a button in a specific menu.

DYNAMICMENU_reset()
Reset DynamicMenu script and clear all possible configurations.

DYNAMICMENU_sortButtonsMenu(string idMenuToSortButtons)
Sort alphabetically all buttons in a specific menu.

DYNAMICMENU_showCurrentMenu()
Show the current menu (the last one displayed)

DYNAMICMENU_deleteMenu(string idMenuToDelete)
Delete a menu.

DYNAMICMENU_deleteButton(string idMenuParent, string descButtonToDelete)
Delete a button in a specific menu.

DYNAMICMENU_setButtonToShowMenu(string idMenuParent,
string buttonDesc,
string idMenuToShow)
Setup a button which when pressed will display another menu.

DYNAMICMENU_deleteButtonsMenu(string idMenu)
Delete all the buttons in a menu.

DYNAMICMENU_setPostDescriptionMenu(string idMenu, string postDescription)
Add a post-description in a menu.
It is useful if you want to set additional information in the menu description which has to be updated later.

DYNAMICMENU_setPreDescriptionAllMenu(string preDescription)
Add a pre-description in all menus.
It is useful if you want to show, for example, the name of your product in all menus and prevent adding same information to every menu.

EVENT NOTIFICATIONS
------------------
llMessageLinked messages with Json data structure are sent from DynamicMenu script in the following cases:
- When a new dialog is displayed
- When a button is pressed

If you have questions, concerns or suggestions can contact the resident Valentin Elan.

View Video »
  • Menu generator
Average rating: full star full star full star full star full star
  • 5 star:
  • 4 star:
  • 3 star:
  • 2 star:
  • 1 star:
Great product!
full star full star full star full star full star Posted January 30, 2023 by Leslie Baragula

Once you get used to the product, it's very easy to write dialogue. I have created a lighting control system for my land that can switch more than 50 lamps individually and in groups. Even dialogues over several pages are no problem.
An additional star for the friendly and helpful customer support.

Was this review helpful?