lSL Function Style

From Second Life Wiki
Revision as of 01:16, 26 January 2007 by Strife Onizuka (talk | contribs)
Jump to navigation Jump to search

  WORK IN PROGRESS

(This style and layout is presumed to be not finalized yet - this needs to be rather finalized first.)

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

0 Function ID
0.0 Delay
10.0 Energy

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)

Returns a string contains the name of the widget last consumed.

• key avatar – This is a key parameter which expects to be passed a valid avatar key.
• integer widgets – This is an integer parameter which indicates the number of widgets to process.
• float 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>

Helper Functions

<lsl> </lsl>

See Also

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

Notes

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



   Outdated templated used

Please change the template from 'LSLFunctionAll' to 'LSL_Function' (just replace 'LSLFunctionAll' with 'LSL_Function', do this after fixing any other erorr messages.

   'also' Tag Removed

(Please use 'also_header','also_events','also_functions','also_articles', or 'also_footer')

Summary

Function: string llVecNorm( key avatar, integer widgets, float stickLength );

Returns a string contains the name of the widget last consumed.

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

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)

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.
All Issues ~ Search JIRA for related Bugs

Examples

<lsl></lsl>

Useful Snippets

<lsl></lsl>

Notes

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

Deep Notes

Search JIRA for related Issues

Signature

function string llVecNorm( key avatar, integer widgets, float stickLength );