Random animation

Hi guys, quick question regarding random animation...
I have an actor on the screen and I want him to blink randomly. I've imported the "blink animation files" (there are total of 5), and I did a bit of research on how to do it but haven't quiet nailed it. I realize there are a few different ways of doing this; some create and integer attribute, some a boolean and I've tried both ways but still can't get around it. If anyone could assist me with this matter I'd appreciate it.
Thanks!
I have an actor on the screen and I want him to blink randomly. I've imported the "blink animation files" (there are total of 5), and I did a bit of research on how to do it but haven't quiet nailed it. I realize there are a few different ways of doing this; some create and integer attribute, some a boolean and I've tried both ways but still can't get around it. If anyone could assist me with this matter I'd appreciate it.
Thanks!
Comments
make rule timer
timer
every xsec (run to completion)
change self blink to random (1,5)
then but rules in this rule
if attribute blink =1
animate
if attribute blink=2
animate
ect
hope that helps
Thank you very much for your help once again!
the blinks are now random
in the timer put
Every random(5,20)
then you will have random blinks at random times
All of the above works well, the blinks are happening in random order.
Now I need the exact same thing happening for another actor on the screen so I made a duplicate of the first actor, but I changed the timer in the second actor so both actors don't blink at the same time, but both actors are still blinking at the same time. How is this happening since the timers in the two actors are different or am I missing something once again?
did you use a Self attribute?
not a globe one
there are the main attributes and self attributes you need to make the blink attribute a self one so each actor has there own
do a search of self attributes to see were they are
let me know how you get on
Sorry about all the n00b questions, but as I said I'm still learning and slowly getting the hang of it.
You've been a great help though, thank you very much sir!
If you have an i pad/iphonr there a great textbook app its not to cheap but well worth it and a good read.
Forgot the name of it but one off the members here wrote it
Am shore a search for gamesalad textbook on the app stor will bring it up
PS it very upto date finger crossed he will keep it up to date