|
Milambus Oh
Registered User
Join date: 6 Apr 2007
Posts: 224
|
05-03-2007 11:57
I'm trying to create a way for a user to remotely "talk" to ab object.
I believe that I should be able to do this by creating an object that the user wears as an attachment, which will listen on a specific channel and when giving a command it will llEmail the remote object.
llEmail needs the key of the remote object to work properly. I am trying to devise a process which will automate this process for my users. Is there anyway to create an object, give it the original object's key and then give it to the user in their inventory?
|
|
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
|
05-03-2007 12:55
From: Milambus Oh I'm trying to create a way for a user to remotely "talk" to ab object.
I believe that I should be able to do this by creating an object that the user wears as an attachment, which will listen on a specific channel and when giving a command it will llEmail the remote object.
llEmail needs the key of the remote object to work properly. I am trying to devise a process which will automate this process for my users. Is there anyway to create an object, give it the original object's key and then give it to the user in their inventory? Have the attachment rez the object? Then the rezzer has the rezzed objects key and can email it at will. The problem will be if the rezzed object is ever taken into inventory and rerezzed as it will get a new key.
|
|
Kenn Nilsson
AeonVox
Join date: 24 May 2005
Posts: 897
|
05-03-2007 12:57
I do something like this with my rental box remote-payment object. The rental box rezzes the "remote"...speaks to it...and then the remote tells the avatar that it is ready to be picked up. Since the rental box is not normally owned by the person rezzing the remote, the renter is told to "Buy" the object for L$0 and then take it into their inventory.
If the owner were the same, you can just ask them to "Take" the item.
I don't know of any way to actually force it into their inventory, though if the owner were the same you could ask for permission to attach once the setup was complete.
_____________________
--AeonVox--Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms chasing ghosts, eating magic pills, and listening to repetitive, addictive, electronic music.
|
|
Milambus Oh
Registered User
Join date: 6 Apr 2007
Posts: 224
|
05-03-2007 13:33
From: Newgate Ludd Have the attachment rez the object? Then the rezzer has the rezzed objects key and can email it at will. The problem will be if the rezzed object is ever taken into inventory and rerezzed as it will get a new key. Unfortunately that won't work for me, since I plan on having multiple attachment items speaking to one central "server" bot. My current though it to have the "server" give the attachment to the users, with instructions for them to wear it immediately and give them both a "sync" command. The sync command will have the server tell the attachment its Key. I'll then have the attachment store the key in its description field. Does that seem like it should work correctly? Any ideas for a better way to do it?
|