Hello everyone, How can I make this script work for anyone, and not just the owner? Thanks! default
{ // Triggered when objects (including avatars) collide with the object containing this script
collision_start(integer nd)
{
while(nd)
{ // Cycle through the detected keys of those objects that collided this time checking if each is the owner.
if(llDetectedKey(--nd) == llGetOwner())
llSetStatus(STATUS_PHANTOM, TRUE); // Become un-solid
}
}
collision_end(integer nd)
{
if(llGetStatus(STATUS_PHANTOM)) // If the object is un-solid
llSetStatus(STATUS_PHANTOM, FALSE); // Set the object solid.
}
}