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

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
__NOTOC__
__NOTOC__
__NOEDITSECTION__
__NOEDITSECTION__
== Welcome to the Second Life LSL Portal! ==
 
<div id="box" style="background:#ffdead;">
&nbsp;&nbsp;&nbsp;'''WORK IN PROGRESS'''
<div style="padding: 0.5em;background:#ffffff;">
Work in Progress
</div>
</div>




Line 9: Line 15:
<div id="box">
<div id="box">
<div style="padding: 0.5em">
<div style="padding: 0.5em">
Returns the absolute value of the integer passed to it.
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>
</div>
|-
|-
|<div id="box">
|<div id="box">
== [[integer]] llAbs( [[integer]] number); ==
== [[integer]] llFunction([[key]] avatar, [[integer]] widgets, [[float]] stickLength); ==
<div style="padding: 0.5em">
<div style="padding: 0.5em">
This function returns the absolute value passed to it. Basically, it removes the negative sign, on the number if there is one. If the parameter is a positive one, it just returns it
* 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>
</div>
|valign="top" width="50%"|
|-
|-
|
|
<div id="box">
<div id="box">
== number ==
== 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">
<div style="padding: 0.5em">
Any valid integer that you wish to find the absolute value of
* Don't use this function to test whether a key is null.
* ''(if you know of none, try using:)'' None known
</div>
</div>
</div>
</div>
|-
|-
|
|
Line 48: Line 65:
|
|
<div id="box">
<div id="box">
== Caveats ==
== 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">
<div style="padding: 0.5em">
* None at this time
(footnotes, if necessary - caveats should go in caveats section)
 
</div>
</div>
</div>
</div>
Line 56: Line 83:




----
== Welcome to the Second Life LSL Portal! ==


{| width="100%"
{| width="100%"

Revision as of 21:56, 24 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