'Open Source Scripting' group (Second Life) wiki

Simple Invisible Object

Modified: 22/01/2007 22:23 by sparti.

'Invisible Object'



This is a really basic script for an Invisible object:



default { state_entry() { // Here we set the texture to a blank texture llSetTexture("5748decc-f629-461c-9a36-a35a221fe21f",ALL_SIDES);

// Now this is what makes the object invisible. The llSetAlpha function. // This when set to (1.0, ALL_SIDES) will make the object 100% visible // and as we want it to be 0% visble we set it to (0.0, ALL_SIDES). llSetAlpha(0.0, ALL_SIDES); } }




I have left notes on this to help you understand it.(if you do not already)

Tribal Toland



ScrewTurn Wiki version 1.0.11. Some of the icons created by FamFamFam.