In game action and rate of fire.

Hello.

I have some troubles, because i can make a animation and in action editor.
But in the game i dont see a animation.
Maybe it comes because i dont see any markers but if i play the animation it works.

And how can you change rate of fire. I know you can make a gun automatic with Random
But i can change the rate? What kind of controller do i need, or do i need a script?

Just look this three videos, then you should now how to do animation in the game engine. http://www.blendercookie.com/category/all/tutorials/game-engine/

Enable the positive true pulse on the keyboard sensor and in the field with the “f:” you can change the delay in frames.
One secound has 60 frames. If you want a delay of a halve second you must give in 30.

my rate of fire works but not the firing sound. i get the sound when i shot 20 bullets and not if i shot 1 bullet

sry find it out already :slight_smile: