View Single Post
10-27-13, 02:59 PM   #4
Mayron
A Frostmaul Preserver
 
Mayron's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2010
Posts: 275
Originally Posted by Resike View Post
OnUpdate script doesn't effect on the speed of the code, only how frequently the updating happens.
Yes I know sorry I didn't word that well, basically the code is used to create an animated effect of moving UI elements but if you have bad FPS then the OnUpdate script causes the animation effect to run too slowly. I decided to use a loop with the GetTime() function instead to make it run at a set speed rather than depending on your FPS.

Originally Posted by Malsomnus View Post
or repeatedly use a 0.5s animation.
Ok thank you, I only thought you could create an animation for precise things such as an Alpha change. I did not know you could create an animation to do anything you wanted over a set time

Last edited by Mayron : 10-27-13 at 03:05 PM.
  Reply With Quote