Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In your menu calling a menu in another object :
- if(message == "button pushed") // This being the button you push on the menu to call the other menu.
- {
- llMessageLinked(link_number,"","Open Menu", "");
- llListenRemove(this_object's_listener); //Close the listener of the old menu.
- }
- In your object receiving a message to open it's menu:
- link_message(integer sender_num, integer num, string msg, key id))
- {
- if (message == "Open Menu")
- {
- listen_handle = llListen(channel,"","",""); // open a new listener for the menu
- llDialog(...) ; //open the menu
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement