User:Icktoofay Kamachi/LSL Wishlist/menu

From Second Life Wiki
< User:Icktoofay Kamachi‎ | LSL Wishlist
Revision as of 20:03, 4 August 2009 by Wiki Scribe (talk | contribs) (Robot: <pre> -> <lsl>)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Emblem-important-yellow.png LSL Feature Request
The described event does not exist. This article is a feature request.


Event: menu( integer handle, string name ){ ; }

Triggered when a custom pie menu item is selected.

• integer handle The handle of the menu item that was selected.
• string name The name of the menu item that was selected.

Not Implemented - feature request. Also, the llDetected functions *will* work in this event.


<lsl>default {

   state_entry() {
       integer item_handle=llAddMenuItem("Hello!");
   menu(integer handle,string name) {

} </lsl>

See Also


•  llAddMenuItem Adds an item to the pie menu of the object.
•  llRemoveMenuItem Removes an item from the pie menu of the object.

Deep Notes