Blender Game Engine: do something when an actuator happens I've made a shooting scene in the blender game engine and I want a property of the gun to show how many shots have been fired. This is how the shooting works:


There's an integer property on the gun called "shots_fired" and I want this property to increase by 1 every time the shoot animation is played.
I've tried to have true-level triggering with different skip amounts but it's not working properly
Ironically, we have an "Actuator" sensor. weird right?
all you have to do is set up one of these and it will send a positive pulse every time the specified actuator changes.



or (recommended) you can simply hook the property actuator to the exact same sensor that your fire animation uses.