Difference between revisions of "LlFrand"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{ | {{LSLFunctionAll | ||
|func=llFrand | |||
|func_id=8 | |||
|func_sleep=0.0 | |||
| | |func_energy=10.0 | ||
|p1_type=float | |||
| | |p1_name=mag | ||
| | |p1_desc=Any valid float value | ||
| | |return_type=float | ||
| | |return_text=that is random and in the range [0,mag) or (mag, 0]. | ||
| | |spec=returns random number in range [0,mag) or (mag, 0]; depending upon the sign of mag. | ||
|caveats | |||
|examples | |||
|func_helpers | |||
|also | |||
|notes | |||
}} | }} | ||
[[Category:LSL_Functions]] | [[Category:LSL_Functions]] | ||
[[Category:LSL_Math]] | [[Category:LSL_Math]] |
Revision as of 18:36, 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.
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: float llFrand( float mag );8 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
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.