Difference between revisions of "User:Thraxis Epsilon/LSL Portal LSL Portal"

From Second Life Wiki
Jump to navigation Jump to search
 
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
__NOEDITSECTION__
__NOEDITSECTION__
<div id="box" style="background:#ffdead;">
&nbsp;&nbsp;&nbsp;'''WORK IN PROGRESS'''
<div style="padding: 0.5em;background:#ffffff;">
Work in Progress
</div>
</div>
{| width="100%"
|-
|valign="top"|
<div id="box">
<div style="padding: 0.5em">
This function consumes widgets while it simultaneously animates a person whacking bad formatters.  The widgets are destroyed.  This is the lede. <!-- yes, lede is a word -->  (short high-level description of function, a few sentences to a paragraph)
</div>
</div>
|-
|<div id="box">
== {{LSLG|integer}} llFunction({{LSLG|key}} avatar, {{LSLG|integer}} widgets, {{LSLG|float}} stickLength); ==
<div style="padding: 0.5em">
* avatar - This is a key parameter which expects to be passed a valid avatar key.
* widgets - This is an integer parameter which indicates the number of widgets to process.
* stickLength - This is a float parameter used to describe the length of the stick used to whack bad formatters.
</div>
</div>
|-
|
<div id="box">
== Specification ==
<div style="padding: 0.5em">
This function performs this specific set of actions under these circumstances.  If the key passed to it is [[NULL_KEY]], then it will [[shout]] "Nobody's whacking!" on channel 0.
</div>
</div>
|-
|
<div id="box">
== Caveats ==
<div style="padding: 0.5em">
* Don't use this function to test whether a key is null.
* ''(if you know of none, try using:)'' None known
</div>
</div>
|-
|
<div id="box">
== Examples ==
<div style="padding: 0.5em">
<lsl>
default
{
    state_entry()
    {
        llSay(0,"The absolute value of -4 is: "+(string)llAbs(-4) );
    }
}
</lsl>
</div>
</div>
|-
|
<div id="box">
== See Also ==
<div style="padding: 0.5em">
(similar functions, related examples and pages, etc.)
</div>
</div>
|-
|
<div id="box">
== Notes ==
<div style="padding: 0.5em">
(footnotes, if necessary - caveats should go in caveats section)
</div>
</div>
|}
----
== Welcome to the Second Life LSL Portal! ==
== Welcome to the Second Life LSL Portal! ==


{| width="100%"
{| width="100%"
Line 10: Line 92:
== Getting Started==
== Getting Started==
<div style="padding: 0.5em">
<div style="padding: 0.5em">
* [[:Category:LSL Tutorial|Tutorials]]
* [[LSL Tutorial|Tutorials]]
* [[:Category:LSL Mentor|Scripting Mentors]]
* [[LSL Mentor|Scripting Mentors]]
* [[:Category:LSL Teacher|Scripting Teachers]]
* [[LSL Teacher|Scripting Teachers]]
</div>
</div>
</div>
</div>
Line 27: Line 109:
== LSL Language Refrence ==
== LSL Language Refrence ==
<div style="padding: 0.5em">
<div style="padding: 0.5em">
* [[LSL Constants|Constants]]
* [[:Category:LSL Constants|Constants]]
* [[LSL Events|Events]]
* [[:Category:LSL Events|Events]]
* [[LSL Flow Cont|Flow Control]]
* [[LSL Flow Cont|Flow Control]]
* [[:Category:LSL Functions|Functions]]
* [[LSL Operators|Operators]]
* [[LSL Operators|Operators]]
* [[LSL States|States]]
* [[LSL States|States]]

Latest revision as of 05:58, 28 January 2007


   WORK IN PROGRESS

Work in Progress


This function consumes widgets while it simultaneously animates a person whacking bad formatters. The widgets are destroyed. This is the lede. (short high-level description of function, a few sentences to a paragraph)

integer llFunction(key avatar, integer widgets, float stickLength);

  • avatar - This is a key parameter which expects to be passed a valid avatar key.
  • widgets - This is an integer parameter which indicates the number of widgets to process.
  • stickLength - This is a float parameter used to describe the length of the stick used to whack bad formatters.

Specification

This function performs this specific set of actions under these circumstances. If the key passed to it is NULL_KEY, then it will shout "Nobody's whacking!" on channel 0.

Caveats

  • Don't use this function to test whether a key is null.
  • (if you know of none, try using:) None known

Examples

<lsl> default {

   state_entry()
   {
       llSay(0,"The absolute value of -4 is: "+(string)llAbs(-4) );
   }

} </lsl>

See Also

(similar functions, related examples and pages, etc.)

Notes

(footnotes, if necessary - caveats should go in caveats section)



Welcome to the Second Life LSL Portal!

Links to Helpful Resources