mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
Common script for all objects (Default.lsl). ScriptEngine touch_start event now works, but llSay only outputs to server console.
This commit is contained in:
11
bin/ScriptEngines/Default.lsl
Normal file
11
bin/ScriptEngines/Default.lsl
Normal file
@@ -0,0 +1,11 @@
|
||||
default {
|
||||
state_entry()
|
||||
{
|
||||
llSay(0, "Hello, Avatar!");
|
||||
}
|
||||
|
||||
touch_start(integer total_number)
|
||||
{
|
||||
llSay(0, "Object was touched.");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user