Difference between revisions of "User:Icktoofay Kamachi/Sandbox"

From Second Life Wiki
Jump to navigation Jump to search
(New page: {{LSL_Function |func=llAddMenuItem |func_id=-1 |func_sleep=0.2 |func_energy=1.0 |func_desc=Adds an item to the pie menu of the object. |func_footnote=Not Implemented - feature request. |re...)
 
Line 1: Line 1:
{{LSL_Function
{{LSL_Function
|func=llAddMenuItem
|func=llRemoveMenuItem
|func_id=-1
|func_id=-1
|func_sleep=0.2
|func_sleep=0.2
|func_energy=1.0
|func_energy=1.0
|func_desc=Adds an item to the pie menu of the object.
|func_desc=Removes an item from the pie menu of the object.
|func_footnote=Not Implemented - feature request.
|func_footnote=Not Implemented - feature request.
|return_type=integer
|p1_type=integer|p1_name=name|p1_desc=The text of the menu item.
|return_text=Returns a handle to the menu item, which can then be removed with llRemoveMenuItem.
|p1_type=string|p1_name=name|p1_desc=The text of the menu item.
|examples=<pre>default {
|examples=<pre>default {
     state_entry() {
     state_entry() {

Revision as of 20:17, 17 June 2008

Emblem-important-yellow.png LSL Feature Request
The described function does not exist. This article is a feature request.

Summary

Function: llRemoveMenuItem( integer name );
REQUEST Function ID
0.2 Forced Delay
1.0 Energy

Removes an item from the pie menu of the object.

• integer name The text of the menu item.

Not Implemented - feature request.

Caveats

  • This function causes the script to sleep for 0.2 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 name );