Join us in Outworldz at www.outworldz.com:9000 or follow us:

Search dozens of selected web sites for OpenSim and LSL script

New! Script Meta-Search will search thousands of scripts here and at other sites for LSL or Opensim scripts.
Loading

Want to add a script or a project? Upload it and a half million people will see it and your name here this year.

Home   Show All
Category: Contributor: Creator
Phantom AV The_Simple_Method_to_Phantom_Av_by_  

The_Simple_Method_to_Phantom_Av_by_

The Simple Method to Phantom Av by Beatfox Xevious-STEP TWO.lsl

Category: Phantom AV
By : Beatfox Xevious
Created: 2010-01-10 Edited: 2010-01-10
Worlds: Second Life

the Zip file

Download all files for The_Simple_Method_to_Phantom_Av_by_
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. The_Simple_Method_to_Phantom_Av_by__1.lsl
1
2 //The Simple Method to Phantom Av by Beatfox Xevious-STEP TWO
3
4
5 //After saving the script, unlink the prims and delete the one you put the script in. The remaining prim should now act like a phantom prim, even though it's not set to phantom. Next, place the following script in it:
6
7
8
9 default { state_entry() { llListen(1, "", llGetOwner(), ""); } listen(integer channel, string name, key id, string message) { if(message == "phantom on") { llSetScale(<.4, .4, .4>); llSetScale(<.5, .5, .5>); } else if(message == "phantom off") { llResetScript(); } } }
10
11
12
13 //Finally, attach the prim. Type "/1 phantom on" to turn on phantom mode, and "/1 phantom off" to turn it off. That's all there is to it! Note that this is intended for flying only; it can do some pretty funky stuff in walk mode. // END //

Back to the Best Free Tools in Second Life and OpenSim.