Files
LSL-Scripts/Script Tests/Script tests/Object/llAsin.lsl

25 lines
537 B
Plaintext
Raw Normal View History

2019-04-03 20:57:49 -05:00
// :SHOW:
2019-03-17 23:20:45 -05:00
// :CATEGORY:Scripting
2019-04-03 20:57:49 -05:00
// :NAME:Script Tests
2019-03-17 23:20:45 -05:00
// :AUTHOR:Justin Clark-Casey (justincc)
// :KEYWORDS:Opensim
2019-04-03 20:57:49 -05:00
// :CREATED:2019-04-04 20:49:51
// :EDITED:2019-04-04 19:49:51
// :ID:1124
// :NUM:1999
2019-03-17 23:20:45 -05:00
// :REV:1
// :WORLD:Opensim
// :DESCRIPTION:
// One of many tests for Opensim
// :CODE:
// Touch the object with this script in it to see the arcsine of random numbers!
default
{
touch_start(integer num)
{
float r = llFrand(2) - 1.0;
llOwnerSay("The arcsine of " + (string)r + " is " + llAsin(r));
}
}