Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Show & Tell Board

Tasman Perth
Geekette Extraordinaire
Join date: 7 Jun 2005
Posts: 225
03-01-2006 22:05
I'm trying to make a tv-like screen which anyone can drag a picture to, and have it display for a period of time. The pictures that will be shown are dragged to the screen rather than being in the screen's inventory. The only image in the objects inventory is a default picture that will show on the screen when nothing else is being displayed. I have a rudimentary 'prototype' working. I can drag a picture to the screen and it displays correctly, however, one thing I'm trying to figure out is this: Is there an ll function or series of functions which would allow me to detect when an image has been dragged to the screen and start a timer which would, after a period of time, remove the picture... Being I'm very new to LSL, I'm not clear if this is possible and if so, what function(s) would do this....

Thanks
Tas
Seagel Neville
Far East User
Join date: 2 Jan 2005
Posts: 1,476
03-02-2006 02:13
I don't think that anyone can do that becasue there is no way to give the mod permission to anyone in real time except when you give it to each one. If llSetObjectPermMask would be implemented, it would become possible.
An alternate idea...
Although you seem to hate to drop the picture into the inventory, you can remove it by llRemoveInventory (llGetTexture, 0) later. Aha, don't forget to use llAllowInventoryDrop also. It would solve the detected section, too. And since you can write the UUID of your texture as the default one on your script, you don't have to put it into the inventory, either.
llSetTimerEvent is the timer you want. llSetTexture shows you the picture on some side. To remove the previous one, you can post the default pic over it.
_____________________
:) Seagel Neville :)
Sky Honey
Coder
Join date: 16 May 2005
Posts: 105
03-02-2006 04:58
The changed event should be fired when the texture changes. As Seagel said, you can put your llSetTimerEvent there and in the timer event set the texture back.
_____________________
Tasman Perth
Geekette Extraordinaire
Join date: 7 Jun 2005
Posts: 225
03-02-2006 11:42
Thanks! Its not that I didnt want to actually drop the picture into inventory, I really didn't know if there was a way of allowing anyone to just sort of drag a pix to the screen.. Since reading your tips, I've added the llallowinventorydrop and used ctl-drag and I can see that will work better.. In fact, I may expand the idea to allow anyone to drop a series of pix and create a slide-show on the fly... Lots to learn, soo little time....

Thanks to all who replied,
Tas