Animation Help

Hello!
I'm trying to make my object play an animation when touched, then the animation unable to play again once it has been played once. Any idea's on how I can achieve this? Any help is appreciated! Thanks!
I'm trying to make my object play an animation when touched, then the animation unable to play again once it has been played once. Any idea's on how I can achieve this? Any help is appreciated! Thanks!
Comments
Stick your animation onto an actor, using animate, let's call this actor 'A' . . . also give it a 'change attribute' action that changes "has animation been run ?" to 'true'.
Make a second actor which will be the one that triggers the animation, let's call this actor 'B'. Stick a rule on B that says: When touched and when "has animation been run ?" is 'false' - then spawn animation 'A'.
So . . . . when you touch B it checks if ”has animation been run ?" is 'false' . . . which it is by default . . . so it then spawns A . . . as soon as A appears on he scene it plays the animation and switches "has animation been run ?" to 'true' . . . . so when you try and click B again it won't work (won't spawn A again and play the animation) because it needs "has animation been run ?" to be 'false' before it will work.
"Thanks, Ill try it out when I get off work!"
Don't wait until you get off work, take control of the situation, take another member of staff hostage (I often use a stapler as a weapon) - slowly back out of the office taking the hostage with you, holding the stapler to their neck, keep shouting something about how you are a desperate man and are prepared to do anything to get back to your GameSalad project, tell them the stapler is loaded and you are prepared to staple. Usually works for me. This is how I completed KongBalls2-HD™.
Oh geez, well this is awkward. I seem to have had my stapler stolen. Is it your fault!?! Are you trying to sabotage me and my ideas!?!?! Come out already, gimme the truth!!