http://www.3greeneggs.com/autoscript/
I generated a script that would rez an object (from the scripted object's inventory) when an avatar is detected within 3 meters of the scripted object. And it worked pretty well, except for problems with lag.

I had the scripted object very small and hidden in the ground. I didn't want "media screens" standing around my simulation of EL Cerrito, yet I want the avatars to be able to interact with the videos when they are in the part of the village that the videos were taped. So I wanted them to appear and disappear as avatars arrived and left. What happened was that if you walked over the sensors, the script didn't have enough time to start, and the avatar might never even see that anything had happened. Plus, the script didn't have offer a way to make the panel go away when the avatar left the area. Another glitch was that it would continue rezzing media panel after media panel until my avatar was away from it.
I keep using the word "media panel" and I wanted to make clear what I mean by that. With Viewer 2 in Second Life, any object can become a fully-functional web browser by simply adding a URL to its texture properties. They call this a "shared media object" because it allows different avatars on different machines to see the same thing at the same time. (or at least close to it) I want avatars to access video footage of the real El Cerrito that I have on one of our streaming servers. So a "media panel" means a flattened cube with video URLs that the avatars can watch.
Another good reference resource for learning the scripting language (LindenLanguage) is the LSL Wiki. http://lslwiki.net/lslwiki/wakka.php?wakka=HomePage
Which is where I am going now to look for more help with my script!
0 comments:
Post a Comment