Difference between revisions of "Template:LSLFunction"
Jump to navigation
Jump to search
(94 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
__NOTOC__ | __NOTOC__ | ||
This template is effectively deprecated. | |||
[[Template:LSL Function]] should be used instead. | |||
</noinclude> | </noinclude> | ||
<includeonly><div id="box"> | <includeonly><div id="box"> | ||
== {{#if: {{{r|}}}|{{ | == {{#if: {{{r|}}}|{{#if:{{{nolink|}}}|{{{r}}}|[[{{{r}}}]]}}||}} {{#if:{{{nolink|}}}|{{{1}}}|[[{{{1}}}]]}}( {{ #if: {{{p1|}}}{{{p1t|}}} | {{#if:{{{nolink|}}}|{{{p1t}}}|[[{{{p1t}}}]]}} {{{p1}}}{{ #if: {{{p2|}}}{{{p2t|}}} |, {{#if:{{{nolink|}}}|{{{p2t}}}|[[{{{p2t}}}]]}} {{{p2}}} {{ #if: {{{p3|}}}{{{p3t|}}} |, {{#if:{{{nolink|}}}|{{{p3t}}}|[[{{{p3t}}}]]}} {{{p3}}}{{ #if: {{{p4|}}}{{{p4t|}}} |, {{#if:{{{nolink|}}}|{{{p4t}}}|[[{{{p4t}}}]]}} {{{p4}}}{{ #if: {{{p5|}}}{{{p5t|}}} |, {{#if:{{{nolink|}}}|{{{p5t}}}|[[{{{p5t}}}]]}} {{{p5}}}{{ #if: {{{p6|}}}{{{p6t|}}} |, {{#if:{{{nolink|}}}|{{{p6t}}}|[[{{{p6t}}}]]}} {{{p6}}}{{ #if: {{{p7|}}}{{{p7t|}}} |, {{#if:{{{nolink|}}}|{{{p7t}}}|[[{{{p7t}}}]]}} {{{p7}}}{{ #if: {{{p8|}}}{{{p8t|}}} |, {{#if:{{{nolink|}}}|{{{p8t}}}|[[{{{p8t}}}]]}} {{{p8}}}{{ #if: {{{p9|}}}{{{p9t|}}} |, {{#if:{{{nolink|}}}|{{{p9t}}}|[[{{{p9t}}}]]}} {{{p9}}}{{ #if: {{{p10|}}}{{{p10t|}}} |, {{#if:{{{nolink|}}}|{{{p10t}}}|[[{{{p10t}}}]]}} {{{p10}}}{{ #if: {{{p11|}}}{{{p11t|}}} |, {{#if:{{{nolink|}}}|{{{p11t}}}|[[{{{p11t}}}]]}} {{{p11}}}{{ #if: {{{p12|}}}{{{p12t|}}} |, {{#if:{{{nolink|}}}|{{{p12t}}}|[[{{{p12t}}}]]}} {{{p12}}} | }} | }} | }} | }} | }} | }} | }} | }} | }} | }} | }} | }} ); == | ||
<div style="padding: 0.5em"> | <div style="padding: 0.5em"> | ||
<div id="box" style="float:right;"> | <div id="box" style="float:right;"> | ||
{| | {| | ||
|- | |- | ||
| {{{2}}} | | {{HoverText|{{{2|}}}|The function index number.}} | ||
| | | {{LSLG|Function ID}} | ||
|- | |- | ||
| {{{3}}} | | {{HoverText|{{{3|}}}|The number of seconds this script will sleep after executing this function.}} | ||
| | | {{LSLG|Delay}} | ||
|- | |- | ||
| {{{4}}} | | {{HoverText|{{{4|}}}|The quantity of energy consumed by this function.}} | ||
| | | {{LSLG|Energy}} | ||
|} | |} | ||
</div> | </div> | ||
{{ #if: {{{tb|}}} | {{tb}} | {{ #if: {{{tb|}}} | {{{tb}}}<br/>{{#if: {{{rd|}}} | <br/> | }}| }}{{ #if: {{{r|}}} | Returns {{AAn|{{{r}}}}} {{ #if: {{{rd|}}} | {{{rd}}} | }}<br/> | }} | ||
{{ #if: {{{ | {{ #if: {{{p1|}}}{{{p1t|}}} | | ||
{{ #if: {{{ | {{ #if: {{{p2|}}}{{{p2t|}}} | | ||
{{ #if: {{{p3|}}}{{{p3t|}}}{{ | {{ #if: {{{p3|}}}{{{p3t|}}} | | ||
{{ #if: {{{ | {{ #if: {{{p4|}}}{{{p4t|}}} | | ||
{{ #if: {{{ | {{ #if: {{{p5|}}}{{{p5t|}}} | | ||
{{ #if: {{{ | {{ #if: {{{p6|}}}{{{p6t|}}} | | ||
{{ #if: {{{ | {{ #if: {{{p7|}}}{{{p7t|}}} | | ||
{{ #if: {{{ | {{ #if: {{{p8|}}}{{{p8t|}}} | | ||
{{ #if: {{{p9|}}}{{{p9t|}}} | | |||
{{ #if: {{{ | {{ #if: {{{p10|}}}{{{p10t|}}} | | ||
{{ #if: {{{ | {{ #if: {{{p11|}}}{{{p11t|}}} | | ||
{{ #if: {{{ | {{ #if: {{{p12|}}}{{{p12t|}}} | | ||
| }} | }} | }} | } | <table cellpadding="2"> | ||
<tr><td>• {{{p1t|}}}</td><td> {{{p1|}}} </td><td> {{ #if: {{{p1d|}}} | – {{{p1d}}} | }} </td></tr> | |||
<div style="clear:right;" ></div> | <tr><td>• {{{p2t|}}}</td><td> {{{p2|}}} </td><td> {{ #if: {{{p2d|}}} | – {{{p2d}}} | }} </td></tr> | ||
</div> | <tr><td>• {{{p3t|}}}</td><td> {{{p3|}}} </td><td> {{ #if: {{{p3d|}}} | – {{{p3d}}} | }} </td></tr> | ||
</div> | <tr><td>• {{{p4t|}}}</td><td> {{{p4|}}} </td><td> {{ #if: {{{p4d|}}} | – {{{p4d}}} | }} </td></tr> | ||
</includeonly><noinclude> | <tr><td>• {{{p5t|}}}</td><td> {{{p5|}}} </td><td> {{ #if: {{{p5d|}}} | – {{{p5d}}} | }} </td></tr> | ||
<tr><td>• {{{p6t|}}}</td><td> {{{p6|}}} </td><td> {{ #if: {{{p6d|}}} | – {{{p6d}}} | }} </td></tr> | |||
<tr><td>• {{{p7t|}}}</td><td> {{{p7|}}} </td><td> {{ #if: {{{p7d|}}} | – {{{p7d}}} | }} </td></tr> | |||
<tr><td>• {{{p8t|}}}</td><td> {{{p8|}}} </td><td> {{ #if: {{{p8d|}}} | – {{{p8d}}} | }} </td></tr> | |||
<tr><td>• {{{p9t|}}}</td><td> {{{p9|}}} </td><td> {{ #if: {{{p9d|}}} | – {{{p9d}}} | }} </td></tr> | |||
<tr><td>• {{{p10t|}}}</td><td> {{{p10|}}} </td><td> {{ #if: {{{p10d|}}} | – {{{p10d}}} | }} </td></tr> | |||
<tr><td>• {{{p11t|}}}</td><td> {{{p11|}}} </td><td> {{ #if: {{{p11d|}}} | – {{{p11d}}} | }} </td></tr> | |||
<tr><td>• {{{p12t|}}}</td><td> {{{p12|}}} </td><td> {{ #if: {{{p12d|}}} | – {{{p12d}}} | }} </td></tr> | |||
</table> | |||
| | |||
<table cellpadding="2"> | |||
<tr><td>• {{{p1t|}}}</td><td> {{{p1|}}} </td><td> {{ #if: {{{p1d|}}} | – {{{p1d}}} | }} </td></tr> | |||
<tr><td>• {{{p2t|}}}</td><td> {{{p2|}}} </td><td> {{ #if: {{{p2d|}}} | – {{{p2d}}} | }} </td></tr> | |||
<tr><td>• {{{p3t|}}}</td><td> {{{p3|}}} </td><td> {{ #if: {{{p3d|}}} | – {{{p3d}}} | }} </td></tr> | |||
<tr><td>• {{{p4t|}}}</td><td> {{{p4|}}} </td><td> {{ #if: {{{p4d|}}} | – {{{p4d}}} | }} </td></tr> | |||
<tr><td>• {{{p5t|}}}</td><td> {{{p5|}}} </td><td> {{ #if: {{{p5d|}}} | – {{{p5d}}} | }} </td></tr> | |||
<tr><td>• {{{p6t|}}}</td><td> {{{p6|}}} </td><td> {{ #if: {{{p6d|}}} | – {{{p6d}}} | }} </td></tr> | |||
<tr><td>• {{{p7t|}}}</td><td> {{{p7|}}} </td><td> {{ #if: {{{p7d|}}} | – {{{p7d}}} | }} </td></tr> | |||
<tr><td>• {{{p8t|}}}</td><td> {{{p8|}}} </td><td> {{ #if: {{{p8d|}}} | – {{{p8d}}} | }} </td></tr> | |||
<tr><td>• {{{p9t|}}}</td><td> {{{p9|}}} </td><td> {{ #if: {{{p9d|}}} | – {{{p9d}}} | }} </td></tr> | |||
<tr><td>• {{{p10t|}}}</td><td> {{{p10|}}} </td><td> {{ #if: {{{p10d|}}} | – {{{p10d}}} | }} </td></tr> | |||
<tr><td>• {{{p11t|}}}</td><td> {{{p11|}}} </td><td> {{ #if: {{{p11d|}}} | – {{{p11d}}} | }} </td></tr> | |||
</table> | |||
}} | | |||
<table cellpadding="2"> | |||
<tr><td>• {{{p1t|}}}</td><td> {{{p1|}}} </td><td> {{ #if: {{{p1d|}}} | {{{p1d}}} | }} </td></tr> | |||
<tr><td>• {{{p2t|}}}</td><td> {{{p2|}}} </td><td> {{ #if: {{{p2d|}}} | {{{p2d}}} | }} </td></tr> | |||
<tr><td>• {{{p3t|}}}</td><td> {{{p3|}}} </td><td> {{ #if: {{{p3d|}}} | – {{{p3d}}} | }} </td></tr> | |||
<tr><td>• {{{p4t|}}}</td><td> {{{p4|}}} </td><td> {{ #if: {{{p4d|}}} | – {{{p4d}}} | }} </td></tr> | |||
<tr><td>• {{{p5t|}}}</td><td> {{{p5|}}} </td><td> {{ #if: {{{p5d|}}} | – {{{p5d}}} | }} </td></tr> | |||
<tr><td>• {{{p6t|}}}</td><td> {{{p6|}}} </td><td> {{ #if: {{{p6d|}}} | – {{{p6d}}} | }} </td></tr> | |||
<tr><td>• {{{p7t|}}}</td><td> {{{p7|}}} </td><td> {{ #if: {{{p7d|}}} | – {{{p7d}}} | }} </td></tr> | |||
<tr><td>• {{{p8t|}}}</td><td> {{{p8|}}} </td><td> {{ #if: {{{p8d|}}} | – {{{p8d}}} | }} </td></tr> | |||
<tr><td>• {{{p9t|}}}</td><td> {{{p9|}}} </td><td> {{ #if: {{{p9d|}}} | – {{{p9d}}} | }} </td></tr> | |||
<tr><td>• {{{p10t|}}}</td><td> {{{p10|}}} </td><td> {{ #if: {{{p10d|}}} | – {{{p10d}}} | }} </td></tr> | |||
</table> | |||
}} | | |||
<table cellpadding="2"> | |||
<tr><td>• {{{p1t|}}}</td><td> {{{p1|}}} </td><td> {{ #if: {{{p1d|}}} | – {{{p1d}}} | }} </td></tr> | |||
<tr><td>• {{{p2t|}}}</td><td> {{{p2|}}} </td><td> {{ #if: {{{p2d|}}} | – {{{p2d}}} | }} </td></tr> | |||
<tr><td>• {{{p3t|}}}</td><td> {{{p3|}}} </td><td> {{ #if: {{{p3d|}}} | – {{{p3d}}} | }} </td></tr> | |||
<tr><td>• {{{p4t|}}}</td><td> {{{p4|}}} </td><td> {{ #if: {{{p4d|}}} | – {{{p4d}}} | }} </td></tr> | |||
<tr><td>• {{{p5t|}}}</td><td> {{{p5|}}} </td><td> {{ #if: {{{p5d|}}} | – {{{p5d}}} | }} </td></tr> | |||
<tr><td>• {{{p6t|}}}</td><td> {{{p6|}}} </td><td> {{ #if: {{{p6d|}}} | – {{{p6d}}} | }} </td></tr> | |||
<tr><td>• {{{p7t|}}}</td><td> {{{p7|}}} </td><td> {{ #if: {{{p7d|}}} | – {{{p7d}}} | }} </td></tr> | |||
<tr><td>• {{{p8t|}}}</td><td> {{{p8|}}} </td><td> {{ #if: {{{p8d|}}} | – {{{p8d}}} | }} </td></tr> | |||
<tr><td>• {{{p9t|}}}</td><td> {{{p9|}}} </td><td> {{ #if: {{{p9d|}}} | – {{{p9d}}} | }} </td></tr> | |||
</table> | |||
}} | | |||
<table cellpadding="2"> | |||
<tr><td>• {{{p1t|}}}</td><td> {{{p1|}}} </td><td> {{ #if: {{{p1d|}}} | – {{{p1d}}} | }} </td></tr> | |||
<tr><td>• {{{p2t|}}}</td><td> {{{p2|}}} </td><td> {{ #if: {{{p2d|}}} | – {{{p2d}}} | }} </td></tr> | |||
<tr><td>• {{{p3t|}}}</td><td> {{{p3|}}} </td><td> {{ #if: {{{p3d|}}} | – {{{p3d}}} | }} </td></tr> | |||
<tr><td>• {{{p4t|}}}</td><td> {{{p4|}}} </td><td> {{ #if: {{{p4d|}}} | – {{{p4d}}} | }} </td></tr> | |||
<tr><td>• {{{p5t|}}}</td><td> {{{p5|}}} </td><td> {{ #if: {{{p5d|}}} | – {{{p5d}}} | }} </td></tr> | |||
<tr><td>• {{{p6t|}}}</td><td> {{{p6|}}} </td><td> {{ #if: {{{p6d|}}} | – {{{p6d}}} | }} </td></tr> | |||
<tr><td>• {{{p7t|}}}</td><td> {{{p7|}}} </td><td> {{ #if: {{{p7d|}}} | – {{{p7d}}} | }} </td></tr> | |||
<tr><td>• {{{p8t|}}}</td><td> {{{p8|}}} </td><td> {{ #if: {{{p8d|}}} | – {{{p8d}}} | }} </td></tr> | |||
</table> | |||
}} | | |||
<table cellpadding="2"> | |||
<tr><td>• {{{p1t|}}}</td><td> {{{p1|}}} </td><td> {{ #if: {{{p1d|}}} | – {{{p1d}}} | }} </td></tr> | |||
<tr><td>• {{{p2t|}}}</td><td> {{{p2|}}} </td><td> {{ #if: {{{p2d|}}} | – {{{p2d}}} | }} </td></tr> | |||
<tr><td>• {{{p3t|}}}</td><td> {{{p3|}}} </td><td> {{ #if: {{{p3d|}}} | – {{{p3d}}} | }} </td></tr> | |||
<tr><td>• {{{p4t|}}}</td><td> {{{p4|}}} </td><td> {{ #if: {{{p4d|}}} | – {{{p4d}}} | }} </td></tr> | |||
<tr><td>• {{{p5t|}}}</td><td> {{{p5|}}} </td><td> {{ #if: {{{p5d|}}} | – {{{p5d}}} | }} </td></tr> | |||
<tr><td>• {{{p6t|}}}</td><td> {{{p6|}}} </td><td> {{ #if: {{{p6d|}}} | – {{{p6d}}} | }} </td></tr> | |||
<tr><td>• {{{p7t|}}}</td><td> {{{p7|}}} </td><td> {{ #if: {{{p7d|}}} | – {{{p7d}}} | }} </td></tr> | |||
</table> | |||
}} | | |||
<table cellpadding="2"> | |||
<tr><td>• {{{p1t|}}}</td><td> {{{p1|}}} </td><td> {{ #if: {{{p1d|}}} | – {{{p1d}}} | }} </td></tr> | |||
<tr><td>• {{{p2t|}}}</td><td> {{{p2|}}} </td><td> {{ #if: {{{p2d|}}} | – {{{p2d}}} | }} </td></tr> | |||
<tr><td>• {{{p3t|}}}</td><td> {{{p3|}}} </td><td> {{ #if: {{{p3d|}}} | – {{{p3d}}} | }} </td></tr> | |||
<tr><td>• {{{p4t|}}}</td><td> {{{p4|}}} </td><td> {{ #if: {{{p4d|}}} | – {{{p4d}}} | }} </td></tr> | |||
<tr><td>• {{{p5t|}}}</td><td> {{{p5|}}} </td><td> {{ #if: {{{p5d|}}} | – {{{p5d}}} | }} </td></tr> | |||
<tr><td>• {{{p6t|}}}</td><td> {{{p6|}}} </td><td> {{ #if: {{{p6d|}}} | – {{{p6d}}} | }} </td></tr> | |||
</table> | |||
}} | | |||
<table cellpadding="2"> | |||
<tr><td>• {{{p1t|}}}</td><td> {{{p1|}}} </td><td> {{ #if: {{{p1d|}}} | – {{{p1d}}} | }} </td></tr> | |||
<tr><td>• {{{p2t|}}}</td><td> {{{p2|}}} </td><td> {{ #if: {{{p2d|}}} | – {{{p2d}}} | }} </td></tr> | |||
<tr><td>• {{{p3t|}}}</td><td> {{{p3|}}} </td><td> {{ #if: {{{p3d|}}} | – {{{p3d}}} | }} </td></tr> | |||
<tr><td>• {{{p4t|}}}</td><td> {{{p4|}}} </td><td> {{ #if: {{{p4d|}}} | – {{{p4d}}} | }} </td></tr> | |||
<tr><td>• {{{p5t|}}}</td><td> {{{p5|}}} </td><td> {{ #if: {{{p5d|}}} | – {{{p5d}}} | }} </td></tr> | |||
</table> | |||
}} | | |||
<table cellpadding="2"> | |||
<tr><td>• {{{p1t|}}}</td><td> {{{p1|}}} </td><td> {{ #if: {{{p1d|}}} | – {{{p1d}}} | }} </td></tr> | |||
<tr><td>• {{{p2t|}}}</td><td> {{{p2|}}} </td><td> {{ #if: {{{p2d|}}} | – {{{p2d}}} | }} </td></tr> | |||
<tr><td>• {{{p3t|}}}</td><td> {{{p3|}}} </td><td> {{ #if: {{{p3d|}}} | – {{{p3d}}} | }} </td></tr> | |||
<tr><td>• {{{p4t|}}}</td><td> {{{p4|}}} </td><td> {{ #if: {{{p4d|}}} | – {{{p4d}}} | }} </td></tr> | |||
</table> | |||
}} | | |||
<table cellpadding="2"> | |||
<tr><td>• {{{p1t|}}}</td><td> {{{p1|}}} </td><td> {{ #if: {{{p1d|}}} | – {{{p1d}}} | }} </td></tr> | |||
<tr><td>• {{{p2t|}}}</td><td> {{{p2|}}} </td><td> {{ #if: {{{p2d|}}} | – {{{p2d}}} | }} </td></tr> | |||
<tr><td>• {{{p3t|}}}</td><td> {{{p3|}}} </td><td> {{ #if: {{{p3d|}}} | – {{{p3d}}} | }} </td></tr> | |||
</table> | |||
}} | | |||
<table cellpadding="2"> | |||
<tr><td>• {{{p1t|}}}</td><td> {{{p1|}}} </td><td> {{ #if: {{{p1d|}}} | – {{{p1d}}} | }} </td></tr> | |||
<tr><td>• {{{p2t|}}}</td><td> {{{p2|}}} </td><td> {{ #if: {{{p2d|}}} | – {{{p2d}}} | }} </td></tr> | |||
</table> | |||
}} | | |||
<table cellpadding="2"> | |||
<tr><td>• {{{p1t|}}}</td><td> {{{p1|}}} </td><td> {{ #if: {{{p1d|}}} | – {{{p1d}}} | }} </td></tr> | |||
</table> | |||
}} | }} | |||
{{ #if: {{{te|}}} | <br />{{{te}}} | }} | |||
<div style="clear:right;" ></div></div></div></includeonly><noinclude> | |||
This template is used to inline a table that displays the function specifications. | This template is used to inline a table that displays the function specifications. | ||
== Usage == | |||
Exclude any values that do not need to be set. | |||
== | <pre>{{LSLFunction | ||
|function name | |||
|function ID | |||
|sleep | |||
|energy| | |||
|tb = beginning text | |||
|te = ending text | |||
|r = return type | |||
|rd = return description | |||
|p1 = parameter name | |||
|p1t = parameter type | |||
|p1d = parameter description | |||
|p2 = parameter name | |||
|p2t = parameter mater type | |||
|p2d = parameter description | |||
|p3 = parameter name | |||
|p3t = parameter type | |||
|p3d = parameter description | |||
|p4 = parameter name | |||
|p4t = parameter type | |||
|p4d = parameter description | |||
|p5 = parameter name | |||
|p5t = parameter type | |||
|p5d = parameter description | |||
|p6 = parameter name | |||
|p6t = parameter mater type | |||
|p6d = parameter description | |||
|p7 = parameter name | |||
|p7t = parameter type | |||
|p7d = parameter description | |||
|p8 = parameter name | |||
|p8t = parameter type | |||
|p8d = parameter description | |||
|p9 = parameter name | |||
|p9t = parameter type | |||
|p9d = parameter description | |||
|p10 = parameter name | |||
|p10t = parameter mater type | |||
|p10d = parameter description | |||
|p11 = parameter name | |||
|p11t = parameter type | |||
|p11d = parameter description | |||
|p12 = parameter name | |||
|p12t = parameter type | |||
|p12d = parameter description | |||
}}</pre> | |||
{{LSLFunction|function_name|function id|sleep|energy| | |||
|r=r|rd=rd | |||
|p1t=p1t|p1=p1|p1d=p1d | |||
|p2t=p2t|p2=p2|p2d=p2d | |||
|p3t=p3t|p3=p3|p3d=p3d | |||
|p4t=p4t|p4=p4|p4d=p4d | |||
|p5t=p5t|p5=p5|p5d=p5d | |||
|p6t=p6t|p6=p6|p6d=p6d | |||
|p7t=p7t|p7=p7|p7d=p7d | |||
|p8t=p8t|p8=p8|p8d=p8d | |||
|p9t=p9t|p9=p9|p9d=p9d | |||
|p10t=p10t|p10=p10|p10d=p10d | |||
|p11t=p11t|p11=p11|p11d=p11d | |||
|p12t=p12t|p12=p12|p12d=p12d | |||
|tb=tb | |||
|te=te | |||
|nolink=* | |||
}} | |||
== Example == | == Example == | ||
<pre>{{LSLFunction|llSin|0|0.0|10.0|r=float|p1=theta|p1t=float|p1d=Angle in radians}}</pre> | |||
{{LSLFunction|llSin|0|0.0|10.0|r=float|p1=theta|p1t=float|p1d=Angle in radians}} | |||
<pre>{{LSLFunction|llPow|5|0.0|10.0|r=float|p1t=float|p1=base|p2t=float|p2=exponent}}</pre> | |||
{{LSLFunction|llPow|5|0.0|10.0|r=float|p1t=float|p1=base|p2t=float|p2=exponent}} | |||
<pre>{{LSLFunction|llRefreshPrimURL|306|20.0|10.0}}</pre> | |||
{{LSLFunction|llRefreshPrimURL|306|20.0|10.0}} | |||
</noinclude> | </noinclude> |
Latest revision as of 11:39, 14 November 2007
This template is effectively deprecated.
Template:LSL Function should be used instead.
This template is used to inline a table that displays the function specifications.
Usage
Exclude any values that do not need to be set.
{{LSLFunction |function name |function ID |sleep |energy| |tb = beginning text |te = ending text |r = return type |rd = return description |p1 = parameter name |p1t = parameter type |p1d = parameter description |p2 = parameter name |p2t = parameter mater type |p2d = parameter description |p3 = parameter name |p3t = parameter type |p3d = parameter description |p4 = parameter name |p4t = parameter type |p4d = parameter description |p5 = parameter name |p5t = parameter type |p5d = parameter description |p6 = parameter name |p6t = parameter mater type |p6d = parameter description |p7 = parameter name |p7t = parameter type |p7d = parameter description |p8 = parameter name |p8t = parameter type |p8d = parameter description |p9 = parameter name |p9t = parameter type |p9d = parameter description |p10 = parameter name |p10t = parameter mater type |p10d = parameter description |p11 = parameter name |p11t = parameter type |p11d = parameter description |p12 = parameter name |p12t = parameter type |p12d = parameter description }}
r function_name( p1t p1, p2t p2 , p3t p3, p4t p4, p5t p5, p6t p6, p7t p7, p8t p8, p9t p9, p10t p10, p11t p11, p12t p12 );
function id | Function ID |
sleep | Delay |
energy | Energy |
tb
Returns a r rd
• p1t | p1 | – p1d |
• p2t | p2 | – p2d |
• p3t | p3 | – p3d |
• p4t | p4 | – p4d |
• p5t | p5 | – p5d |
• p6t | p6 | – p6d |
• p7t | p7 | – p7d |
• p8t | p8 | – p8d |
• p9t | p9 | – p9d |
• p10t | p10 | – p10d |
• p11t | p11 | – p11d |
• p12t | p12 | – p12d |
te
Example
{{LSLFunction|llSin|0|0.0|10.0|r=float|p1=theta|p1t=float|p1d=Angle in radians}}
{{LSLFunction|llPow|5|0.0|10.0|r=float|p1t=float|p1=base|p2t=float|p2=exponent}}
{{LSLFunction|llRefreshPrimURL|306|20.0|10.0}}
llRefreshPrimURL( );
306 | Function ID |
20.0 | Delay |
10.0 | Energy |