Creating a timer?

Sep 6, 2008 at 12:00 PM
Im wery new to addon programming, have done some of visual and c++ programming earlyer...

And what im trying to make is an ingame Stop watch so i can take time on how long to take an instance for example.

But in Visual you could add a "timer" that runed it selfe time after time, where you could call on youre calculations etc. but i cant find any simular item in wow addonstudios...

So here comes the million dollar question, how can i make such kinde of timer?
Sep 7, 2008 at 10:02 PM
Maybe i should explain what i need help with...

I have my function Update() that i want the program to run every sec or so, at the moment i have solved the problem with a button that runs the function, but how can i make the code so it calls it automaticly?

I have not try to done it as a function that calls itselfe, cant find the pause command.... But i think it have to be an esier way, or myabee not an esier, but a better solution. And it si here i need youre help.