Harris Hare
Second Life Resident
Join date: 5 Nov 2004
Posts: 301
|
12-13-2004 19:06
I'm building a TV that allows the owner to drop DVD objects onto it. The TV then rezzes the DVD from its inventory, links it, and then transfers the DVD's data into the TV.
The problem I'm running into is that I don't want the buyer of the TV to be able to actually modify it. With the help of some friends, I did a little testing and found that even with "llAllowInventoryDrop" set to true, the owner of a non-mod object could not drop items onto it's inventory.
Did I do something wrong or is there just no way to allow the owner of a non-mod object to drop other objects into it's inventory? Thanks.
|
Upshaw Underhill
Techno-Hobbit
Join date: 13 Mar 2003
Posts: 293
|
12-13-2004 19:13
Just wrote a similar script last night, for you it needs to be the CHANGED_INVENTORY in the changed event, for everyone else it needs to be CHANGED_ALLOWED_DROP so that the changed event is recognized correctly. For mine I put a simple if (llGetCreator() == llGetOwner()) { changed_param = CHANGED_INVENTORY; } else { changed_param = CHANGED_ALLOWED_DROP; }
I didn't try it in a moddable item that I didn't make but I think it would still work since you have mod permissions. L8r, UU
|
Water Rogers
Registered User
Join date: 1 May 2003
Posts: 286
|
12-13-2004 20:27
_____________________
From: Philip Linden For the more technically minded - the problem is actually NOT the asset server (or 'asshat' as you prefer to affectionately call it herein).
|
Water Rogers
Registered User
Join date: 1 May 2003
Posts: 286
|
12-13-2004 20:30
i tested with a no-mod object just fine using the code your friend asked for in this tread: /54/97/29689/1.html
_____________________
From: Philip Linden For the more technically minded - the problem is actually NOT the asset server (or 'asshat' as you prefer to affectionately call it herein).
|