|
Eli Langway
Registered User
Join date: 22 Jul 2006
Posts: 26
|
07-28-2006 12:26
I'm a noob to scripting, but I've made a few things and they've turned out all right. So I wanted to make a picture frame whose picture changed at a regular interval, and let people buy whatever was on display at that moment. I went through the code of a few other vendor scripts and they were a bit over my head, and I didn't think I could make them work for what I wanted to do. So in total, I need a script that will fetch a texture (in order) from its inventory every so many minutes, display it, and let people buy a copy of the picture. I'm not sure, but I think it would work if I just sold the textures with modify, no transfer, so people won't be mass selling my own photos, lol. So anybody have a script I can rip? 
|
|
Xixao Dannunzio
Owner, X3D Enterprises
Join date: 20 Mar 2006
Posts: 114
|
07-28-2006 14:09
This can be done quite easily playing with llGetInventoryName and llSetTexture, with a timer event handling the rotation. Then use llGiveInventory in the money event, using a variable set with llGetInventoryName.
I created similar vendors for my wife that use this concept with her clothing. I'm staying with her this weekend, returning Tuesday night. If you can wait til then, I may be able to offer some assistance.
|
|
Eli Langway
Registered User
Join date: 22 Jul 2006
Posts: 26
|
07-29-2006 01:35
Thanks for you help! I can definitely wait  I was reminded though, that it would be far better to have it set to change on SL time, and I'm not sure if that's possible in LSL.
|