aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin/ScriptEngines
diff options
context:
space:
mode:
authorTedd Hansen2007-08-13 20:55:07 +0000
committerTedd Hansen2007-08-13 20:55:07 +0000
commit79dc1a4f7d4196d14bd51cb0839b9dd8c644cab7 (patch)
treee07b695666f9fe6e90a674706ebdc9509dd33065 /bin/ScriptEngines
parentcommitted a test version of OpenSimAssetSet.xml in last commit, so fixing that. (diff)
downloadopensim-SC_OLD-79dc1a4f7d4196d14bd51cb0839b9dd8c644cab7.zip
opensim-SC_OLD-79dc1a4f7d4196d14bd51cb0839b9dd8c644cab7.tar.gz
opensim-SC_OLD-79dc1a4f7d4196d14bd51cb0839b9dd8c644cab7.tar.bz2
opensim-SC_OLD-79dc1a4f7d4196d14bd51cb0839b9dd8c644cab7.tar.xz
Common script for all objects (Default.lsl). ScriptEngine touch_start event now works, but llSay only outputs to server console.
Diffstat (limited to 'bin/ScriptEngines')
-rw-r--r--bin/ScriptEngines/Default.lsl11
1 files changed, 11 insertions, 0 deletions
diff --git a/bin/ScriptEngines/Default.lsl b/bin/ScriptEngines/Default.lsl
new file mode 100644
index 0000000..13c6803
--- /dev/null
+++ b/bin/ScriptEngines/Default.lsl
@@ -0,0 +1,11 @@
1default {
2 state_entry()
3 {
4 llSay(0, "Hello, Avatar!");
5 }
6
7 touch_start(integer total_number)
8 {
9 llSay(0, "Object was touched.");
10 }
11}