User:icktoofay Kamachi/LSL Wishlist/llRemoveMenuItem

From Second Life Wiki
< User:Icktoofay Kamachi‎ | LSL Wishlist
Revision as of 20:33, 17 June 2008 by Icktoofay Kamachi (talk | contribs) (New page: {{LSL_Function |func=llRemoveMenuItem |func_id=-1 |func_sleep=0.1 |func_energy=1.0 |func_desc=Removes an item from the pie menu of the object. If that item does not exist, an error is shou...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Emblem-important-yellow.png LSL Feature Request
The described function does not exist. This article is a feature request.

Summary

Function: llRemoveMenuItem( integer handle );
REQUEST Function ID
0.1 Forced Delay
1.0 Energy

Removes an item from the pie menu of the object. If that item does not exist, an error is shouted on DEBUG_CHANNEL.

• integer handle The handle of the menu item to remove.

Not Implemented - feature request.

Caveats

  • This function causes the script to sleep for 0.1 seconds.
All Issues ~ Search JIRA for related Bugs

Examples

default {
    state_entry() {
        integer item_handle=llAddMenuItem("Hello!");
    }
    menu(integer handle,string name) {
        llSay(0,name);
        llRemoveMenuItem(handle);
    }
}

Deep Notes

Search JIRA for related Issues

Signature

//function void llRemoveMenuItem( integer handle );