Add new files
This commit is contained in:
17
Script Tests/Script tests/Object/llAcos.lsl
Normal file
17
Script Tests/Script tests/Object/llAcos.lsl
Normal file
@@ -0,0 +1,17 @@
|
||||
// :CATEGORY:Scripting
|
||||
// :AUTHOR:Justin Clark-Casey (justincc)
|
||||
// :KEYWORDS:Opensim
|
||||
// :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));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user