Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llSensor & child prims question

Innula Zenovka
Registered User
Join date: 20 Jun 2007
Posts: 1,825
01-06-2009 06:41
I forget.. can I get a sensor to locate a child prim in a linkset? I need to aim something at the particular prim rather than at the root prim.
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
01-06-2009 07:08
hmm, sensors attached to the avatar ignore the avatar wearing it, so i'm assuming a sensor can't sense another prim in the same link set. if you're wanting to target particles, you would simply use llGetLinkKey. otherwise, you could use llGetObjectDetails combined with llGetLinkKey to get it's position
Innula Zenovka
Registered User
Join date: 20 Jun 2007
Posts: 1,825
01-06-2009 14:00
llGetObjectDetails() and llGetLinkKey() was what i needed.. thank you so much!