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

21 lines
461 B
Plaintext
Raw Normal View History

2019-03-17 23:20:45 -05:00
// :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 num1 = llFrand(100.0);
float num2 = llFrand(100.0);
llOwnerSay("y = " + (string)num1);
llOwnerSay("x = " + (string)num2);
llOwnerSay("The tangent of y divided by x is " + (string)llAtan2(num1, num2));
}
}