Neverworld Grid

You are not logged in. Would you like to login or register?



6/10/2019 5:57 pm  #1


Label a box

This simply creates hovertext containing the name of the object. Its for using a prim as a storage box.
Yes, I know the code is redundant, but I wanted to make sure it was always accurate so it updates
every time the box's cotents change

DoStuff()
{
    llSetText(llGetObjectName(),<1,1,0>,1.0);
}
default
{
    state_entry() {DoStuff();}
    on_rez(integer start_param) {DoStuff();}
    changed(integer change) {if (change & CHANGED_INVENTORY) {DoStuff();}}
}
 

 

Board footera

 

Powered by Boardhost. Create a Free Forum