Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

target key for llCreateLink

Lexcom Ultsch
Registered User
Join date: 21 Aug 2007
Posts: 20
09-04-2007 08:54
Hi there. I have two objects, say A and B. Both are already rezzed. Now I want to link object B to object A. So I write a script sitting in the object B that tells him to link to the object A via llCreateLink. But for this i have to determine the key of the object A. I just got no idea how to do this. Can anyone help?

cheerio
Tiarnalalon Sismondi
Registered User
Join date: 1 Jun 2006
Posts: 402
09-04-2007 09:13
You'd probably need to have it say something to request prim A to tell prim B what its key is.
BamBam Sachertorte
floral engineer
Join date: 12 Jul 2005
Posts: 228
09-04-2007 19:35
Object A doesn't even need to say its key, the listen event handler in object B will get the key and the name of every object it hears. Object A only needs to say something on some channel that identifies it to object B.
Simil Miles
Creator
Join date: 1 Mar 2007
Posts: 300
09-04-2007 23:17
You can do a sensor for object named A with the same owner.
_____________________
UnConWTech @ Flo (144, 84, 224) http://unconwtech.free.fr

SL books http://astore.amazon.com/secondlife-sl-20/

Need a beta tester for quality assurance ?
Need a translator for English, French, Spanish ?
Lexcom Ultsch
Registered User
Join date: 21 Aug 2007
Posts: 20
09-05-2007 06:46
thx, the sensor event is what i needed.

cheerio