24 lines
447 B
Plaintext
24 lines
447 B
Plaintext
// :SHOW:
|
|
// :CATEGORY:Scripting
|
|
// :NAME:Script Tests
|
|
// :AUTHOR:Justin Clark-Casey (justincc)
|
|
// :KEYWORDS:Opensim
|
|
// :CREATED:2019-04-04 20:49:51
|
|
// :EDITED:2019-04-04 19:49:51
|
|
// :ID:1124
|
|
// :NUM:1992
|
|
// :REV:1
|
|
// :WORLD:Opensim
|
|
// :DESCRIPTION:
|
|
// One of many tests for Opensim
|
|
// :CODE:
|
|
|
|
default
|
|
{
|
|
state_entry()
|
|
{
|
|
float r = llFrand(2) - 1.0;
|
|
llOwnerSay("The arccosine of " + (string)r + " is " + llAcos(r));
|
|
}
|
|
}
|