aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin/assets/ScriptsAssetSet/llSetRot.lsl
diff options
context:
space:
mode:
authorBrian McBee2008-01-07 01:03:46 +0000
committerBrian McBee2008-01-07 01:03:46 +0000
commit35b0c2e9dfbbf811c12c9e3e7d4359a13b987977 (patch)
tree42e91b37aa581006dc9defb6780ff15319049d3f /bin/assets/ScriptsAssetSet/llSetRot.lsl
parentFactor out inventory code in SceneObjectGroup into seperate class. (diff)
downloadopensim-SC_OLD-35b0c2e9dfbbf811c12c9e3e7d4359a13b987977.zip
opensim-SC_OLD-35b0c2e9dfbbf811c12c9e3e7d4359a13b987977.tar.gz
opensim-SC_OLD-35b0c2e9dfbbf811c12c9e3e7d4359a13b987977.tar.bz2
opensim-SC_OLD-35b0c2e9dfbbf811c12c9e3e7d4359a13b987977.tar.xz
More inventory work for CharlieO. Final patch to make it all work yet to come.
Diffstat (limited to 'bin/assets/ScriptsAssetSet/llSetRot.lsl')
-rw-r--r--bin/assets/ScriptsAssetSet/llSetRot.lsl13
1 files changed, 13 insertions, 0 deletions
diff --git a/bin/assets/ScriptsAssetSet/llSetRot.lsl b/bin/assets/ScriptsAssetSet/llSetRot.lsl
new file mode 100644
index 0000000..ce3009c
--- /dev/null
+++ b/bin/assets/ScriptsAssetSet/llSetRot.lsl
@@ -0,0 +1,13 @@
1default
2{
3 state_entry()
4 {
5 llOwnerSay("Touch me");
6 }
7 touch_start(integer total_number)
8 {
9 rotation Y_10 = llEuler2Rot( < 0, 0, 30 * DEG_TO_RAD > );
10 rotation newRotation = llGetRot() * Y_10;
11 llSetRot( newRotation );
12 }
13}