Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Is it possible to distribute notecards via UUID

TwoSheds Flanagan
Registered User
Join date: 20 Jun 2007
Posts: 13
10-02-2007 07:33
Is there any way to distribute an item, say for the case of discussion a note card, via a script using the UUID of the notecard, rather than placing it in the contents of the prim containing the script itself?

I've been able to do this with a texture after a fashion, simply use llSetTexture( UUIDofTheTexture, FACE), to display the texture on the prim containing the script, but my ham handed attempts at handing out a notecard in a similar fashion aren't working. Obviously the llGiveInventory isn't the way to go but I'm not stumbling across something equivalent that doesn't require the item be in the avatar or scripted prim's inventory. Should I stop now or is there something that I've not found or glossed over?

Thanks for any zen you can pass my way.
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
10-02-2007 08:32
You can't llGiveInventory anything by key/UUID. Since that function is the only way a script can give anybody anything, you thus can't distribute anything by UUID. Keys are not the objects themselves, though some functions allow them to be used in lieu of actual inventory.

You could distribute a notecard *reader* object and send it keys where it reads the notecard and spits it out in llOwnerSay or in chat, however. That would depend on the length of the notecard, though.