diff options
author | Tedd Hansen | 2007-08-13 20:55:07 +0000 |
---|---|---|
committer | Tedd Hansen | 2007-08-13 20:55:07 +0000 |
commit | 79dc1a4f7d4196d14bd51cb0839b9dd8c644cab7 (patch) | |
tree | e07b695666f9fe6e90a674706ebdc9509dd33065 /bin/ScriptEngines | |
parent | committed a test version of OpenSimAssetSet.xml in last commit, so fixing that. (diff) | |
download | opensim-SC-79dc1a4f7d4196d14bd51cb0839b9dd8c644cab7.zip opensim-SC-79dc1a4f7d4196d14bd51cb0839b9dd8c644cab7.tar.gz opensim-SC-79dc1a4f7d4196d14bd51cb0839b9dd8c644cab7.tar.bz2 opensim-SC-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.lsl | 11 |
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 @@ | |||
1 | default { | ||
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 | } | ||