Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

eyeblink script too slow

RaptonX Zorger
Registered User
Join date: 26 Jan 2006
Posts: 79
04-08-2006 12:28
Ok, I am making a script to blink eyes for an ave, and it works...but when changing the texture offset, it goes rather slowly. I have seen fast ones out there, so there is a reason mine is not moving quickly enough.
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
04-08-2006 13:04
is it using llSetTextureAnimation?

if yes
llSetTextureAnim(integer mode, integer side, integer x_frames, integer y_frames, float start, float length, float rate);

float rate (the last number) controls the speed

if not use Texture animation, it seems to be quicker and you can remove the script once its started
RaptonX Zorger
Registered User
Join date: 26 Jan 2006
Posts: 79
04-08-2006 13:48
Yeah, I hust figured that out......but I don't want it to scale, I want it to offset....and this llSetTextureAnimation does not seem ot be able ot do that, only scale and rotate
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
04-08-2006 22:32
um SMOOTH makes the offesets slide, and nothing at all makes it jump from one offset to another based on a grid pattern

im interested in scale tho, ive never gotten it to work

if you look in the wiki it says
From: someone
x_frames and y_frames are ignored, as they serve no purpose for these modes.


for smooth animations, this is complete bulls ... its wrong ever since ive been here the numbers work the same as a step animation , if it want 1 texture to slide accross the face i would use 1,1, if i wanted 16 frames to slide accross the face i would use 4x4

(just fyi)