How does one go about making an in-world mailbox object that will receive notecards dropped into it? I see these all over....I'm guessing it's a simple script but not sure where to get it....or how make it. Anyone know?
thanks

These forums are CLOSED. Please visit the new forums HERE
Notecard 'receiver' ?? |
|
|
Milla Alexandre
Milla Alexandre
Join date: 22 Jan 2007
Posts: 1,759
|
02-25-2009 08:22
Just a quicky.....
How does one go about making an in-world mailbox object that will receive notecards dropped into it? I see these all over....I'm guessing it's a simple script but not sure where to get it....or how make it. Anyone know? thanks ![]() |
|
Ceera Murakami
Texture Artist / Builder
Join date: 9 Sep 2005
Posts: 7,750
|
02-25-2009 08:39
http://wiki.secondlife.com/wiki/LlAllowInventoryDrop
http://wiki.secondlife.com/wiki/CHANGED_INVENTORY The first allows dropping something in the prim, the next allows detecting that something has been dropped. Use those to allow drop, detect it, then script it to send inventory to the owner, and then delete the items sent. Would probably need checks for inventory type, to allow only notecards to go through, and just delete any other inventory type that gets added. Not sure if LlAllowInventoryDrop has a parameter to only allow certain types... _____________________
Sorry, LL won't let me tell you where I sell my textures and where I offer my services as a sim builder. Ask me in-world.
|
|
Damien1 Thorne
Registered User
Join date: 26 Aug 2007
Posts: 4,877
|
02-25-2009 08:45
http://wiki.secondlife.com/wiki/LlAllowInventoryDrop http://wiki.secondlife.com/wiki/CHANGED_INVENTORY The first allows dropping something in the prim, the next allows detecting that something has been dropped. Use those to allow drop, detect it, then script it to send inventory to the owner, and then delete the items sent. Would probably need checks for inventory type, to allow only notecards to go through, and just delete any other inventory type that gets added. Not sure if LlAllowInventoryDrop has a parameter to only allow certain types... The function doesn't show any parameters to only allow certain types, but it does say that in order to drop anything but notecards, the control key has to be held while dragging the object to the prim. _____________________
As we fade into the darkness...
|
|
Gabriele Graves
Always and Forever, FULL
Join date: 23 Apr 2007
Posts: 6,205
|
02-25-2009 14:16
Just a quicky..... How does one go about making an in-world mailbox object that will receive notecards dropped into it? I see these all over....I'm guessing it's a simple script but not sure where to get it....or how make it. Anyone know? thanks ![]() If the latter, I can give you one of mine at around 10pm SLT tonight. |