Welcome watcher.   Detects penetration of the (phantom) object and activates collision_start.  The host object is likely to have transparent texture, so there is no indication of its presence except how it responds to the intrusion. This welcome watcher chats a welcome.  
default {
   state_entry()
See: Dynamite
llVolumeDetect(TRUE);
   llMinEventDelay(10.0); }
Set intrusion detector.
Set delay to avoid double triggering and double voicing
collision_start(integer num_detected) Detect intrusion.
{  vector pos = llGetPos() ;
llTriggerSoundLimited("WelcomeTS1", 1.0, pos + <9,9,9>, pos - <9,9,9>);
llSay(0, llDetectedName(0) + " is welcome here.");
llSay(0, "Info for newcomers in the briefcase on the table");
llSay(0, "Most things here should be free to copy.");
llSay(0, "If you cant get a copy of something, tell Thinkerer M."); }
Respond to intrusion.
 
} Close default
The Thinkerer 05/09/2008
Copyright (c) D. F. Dansereau & S. H. Evans

Site Map

Where start?

LODScr
Famous fables