Ledje Gorky
Registered User
Join date: 1 Jun 2005
Posts: 126
|
09-28-2005 05:44
Can someone point me the right way on this one? Im looking for a script that changes the vertical or horizontal offset of a texture. Maybe even combined with a timer. For example it could be used for a sort of progression bar (like when you're downloading something). I'm sure that the llSetTextureAnim function has something to do with it, but i cant find any script that suits me. (and im not good enough to write one  ) thx 
|
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
|
09-28-2005 06:12
Try here: http://secondlife.com/badgeo/wakka.php?wakka=textureand look at llScaleTexture() and llOffsetTexture() in particular. Something that's half your 'background' and half your 'loaded' texture that's rescaled from 0.5 and offset to the 'background' side up to full size (0 offset, half loaded) and then back down to 0.5 scaling and offset on the 'loaded' side, or even just offsets changing whilst staying at the 0.5 scaling should work without getting into texture scaling. There are other ways. If you can afford the prims a small prim that you resize along to cover the backgound would also work http://secondlife.com/badgeo/wakka.php?wakka=llSetScale is the relevant page.
|