LlFrand: Difference between revisions

From Second Life Wiki
Jump to navigation Jump to search
Strife Onizuka (talk | contribs)
No edit summary
Strife Onizuka (talk | contribs)
No edit summary
Line 22: Line 22:
== Specification ==
== Specification ==
<div style="padding: 0.5em">
<div style="padding: 0.5em">
returns random number in range [0,mag)
returns random number in range [0,mag) or (mag, 0]; depending upon the sign of mag.
{|
|-
| [[LSL_Energy|Energy]]:
| 10.0  
|-
| [[LSL_Sleep|Sleep]]:
| 0.0
|-
| [[LSL_Function_ID|Function ID]]:
| 8
|}
</div>
</div>
</div>
</div>

Revision as of 17:34, 25 January 2007

The correct title of this article is llFrand. The initial letter is shown capitalized due to technical restrictions.


== float [[llFrand ]]( float mag ); ==

8 Function ID
0.0 Delay
10.0 Energy

beginning text

Returns a float that is random and in the range [0,mag) or (mag, 0].

• float mag – Any valid float value

Specification

returns random number in range [0,mag) or (mag, 0]; depending upon the sign of mag.

Caveats

Examples

<lsl> </lsl>

Helper Functions

<lsl> </lsl>

See Also

Notes