01-16-2004 23:05
Well, I just noticed tonight that we no longer have the ability to set a prim to allow everyone to modify it. As a fan of group picture sessions, I had to find a way around that. Below is a quick script to allow anyone to drop a texture onto a prim and have it display that texture. Someone had to do it :)
CODE

default
{
state_entry()
{
llAllowInventoryDrop(TRUE);
}
changed(integer change)
{
if (change & CHANGED_ALLOWED_DROP)
{
llSetTexture(llGetInventoryKey(llGetInventoryName(INVENTORY_TEXTURE, llGetInventoryNumber(INVENTORY_TEXTURE) - 1)), ALL_SIDES);
}
}
}


edit- just inserted the formatting marks.