Download

help

I’m building a FPS game which shoots empty bottles and explode them.I used built-in FPS template.I was able to make the bottle to explode but the problem is i want to keep track of number of bottle user shot down by using an integer variable in FPS projectile blueprint.I used overlap event when the projectile overlaps the bottle it will trigger a spawn actor by class and gives exploding effect after exploding both bottle and projectile will be destroyed and an integer variable count with initial value 0 will be incremented by one to keep track of number of target shot down.But when i try to increment the integer variable after hitting a bottle it is incremented once and gives 1. When i shoot down another bottle it is still 1 and not incrementing to 2 and so on.