Difference between revisions of "LlFrand"

From Second Life Wiki
Jump to navigation Jump to search
Line 4: Line 4:
{| width="100%"
{| width="100%"
|-
|-
|<div id="box">
|{{LslFunction
== [[LSL_Type_float|float]] llFrand( [[LSL_Type_float|float]] mag); ==
|llFrand
<div style="padding: 0.5em">
|8
* mag - Any valid float value
|0.0
</div>
|10.0
</div>
|tb=beginning text
|r=float
|rd=that is random and in the range [0,mag) or (mag, 0].
|p1=mag
|p1t=float
|p1d=Any valid float value
}}
|-
|-
|
|

Revision as of 17:33, 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)

Energy: 10.0
Sleep: 0.0
Function ID: 8

Caveats

Examples

<lsl> </lsl>

Helper Functions

<lsl> </lsl>

See Also

Notes