Jump to content

collision_start(integer hit) question


Altier Verwood
 Share

You are about to reply to a thread that has been inactive for 781 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

Hello forums, I feel like I come asking so many questions, I have one more.

I have an object, with some child prims on it named "Hangar" and i have another script that uses to delete the docked ship, but I've run into a problem, that it only detects the name of the root prim and not the child it's colliding with. am i missing something?  this script is in the colliding prim it's just not detecting the name of the child prim. 

default
{
    collision_start(integer hit)
    {
        //from here

        llGetObjectDetails(id,([OBJECT_NAME]));
        if(id == "Hangar")
        {
        llDie();
        }
        // to here
    }
}

Edited by Altier Verwood
Link to comment
Share on other sites

1 hour ago, Altier Verwood said:

Hello forums, I feel like I come asking so many questions, I have one more.

ask as many questions as you want.  Is what the scripting forum is for, and the scripters who come here will be happy to help you out as many times as you want

  • Like 2
Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 781 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...