View Single Post
Unread 02-05-10, 12:01 PM   #16
A Kobold Labourer
AddOn Author - Click to view addons
Join Date: Dec 2005
Posts: 1
I'm not sure about how it would work in lua, but any pulsating effect can be achieved with a simple sinus function.

pseudo code:
var sequence = 0;
sequence ++;
AlphaProperty = sin(sequence);

this would result in the AlphaProperty going from 0 to 1, then from 1 to 0 and so on. google 'math sin lua' for more info

Good luck
Nemnacill is offline   Reply With Quote