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)
m LlFrand moved to LSL llFrand
(No difference)

Revision as of 20:31, 25 January 2007

   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.

Summary

Function: float llFrand( float mag );
0.0 Forced Delay
10.0 Energy

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

• float mag Any valid float value

Specification

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

Examples

Deep Notes

Signature

function float llFrand( float mag );