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...)
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{LSL_Function
Hi. This is just a little sandbox for me to test wiki stuff. =D
|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.
|return_type=integer
|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 {
    state_entry() {
        integer item_handle=llAddMenuItem("Hello!");
    }
    menu(integer handle,string name) {
        llSay(0,name);
        llRemoveMenuItem(handle);
    }
}
</pre>
|mode=request
|self
}}

Latest revision as of 20:29, 17 June 2008

Hi. This is just a little sandbox for me to test wiki stuff. =D