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

29 lines
581 B
Plaintext
Raw Normal View History

2019-03-21 14:35:28 -05:00
// :SHOW:
2019-03-17 23:20:45 -05:00
// :CATEGORY:Scripting
2019-03-21 14:35:28 -05:00
// :NAME:Script Tests
2019-03-17 23:20:45 -05:00
// :AUTHOR:Justin Clark-Casey (justincc)
// :KEYWORDS:Opensim
2019-03-21 14:35:28 -05:00
// :CREATED:2019-03-18 23:44:22
// :EDITED:2019-03-18 22:44:22
// :ID:1116
// :NUM:1956
2019-03-17 23:20:45 -05:00
// :REV:1
// :WORLD:Opensim
// :DESCRIPTION:
// One of many tests for Opensim
// :CODE:
default
{
state_entry()
{
llOwnerSay("Touch me");
}
touch_start(integer total_number)
{
rotation Y_10 = llEuler2Rot( < 0, 0, 30 * DEG_TO_RAD > );
rotation newRotation = llGetRot() * Y_10;
llSetRot( newRotation );
}
}