Jump to content

Target Child Prim of Rezzed Object


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

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

Recommended Posts

So the object_rez get's the key of the root prim of the object being rezzed, but I'm wondering how I can get the key of a child prim of the object without using a listen event. I want to target it with particles, but with the root prim using llTargetOmega so that it makes the child prim orbit it. My theory is that when the object rezzes, I can set the root prim's description with the key of the link I intend to target using llGetLinkKey, and then in the rezzing script, in the object_rez event use llGetObjectDetails to get the object's description. Which is faster? The llSetObjectDescription(llGetLinkKey)), or llGetObjectDetails(id, [OBJECT_DESC]);? I want to make sure the description is set with the key before llGetObjectDetails tries to capture it for the particle target. I guess I could use llSleep. Can anyone suggest another way other than a listen or sensor (will the sensor even pick up a child prim?)

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 2883 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...