So I am having difficulty with troops being counted via variables.
This is the setup:
[IMG]https://i.ibb.co/2kbn3vr/Watersprite-Troop.png[/IMG]
What I would like to happen, is every time the troop dies, its added as 1 to the variable, for each specific enemy on screen killed.
What IS happening is that its doubling the value so every enemy is counted TWICE.
Example: You kill 3 Watersprites, but it gets counted twice so now you have 6 stored in the WaterSprites Variable.
How do I fix this?
Thanks
This is the setup:
[IMG]https://i.ibb.co/2kbn3vr/Watersprite-Troop.png[/IMG]
What I would like to happen, is every time the troop dies, its added as 1 to the variable, for each specific enemy on screen killed.
What IS happening is that its doubling the value so every enemy is counted TWICE.
Example: You kill 3 Watersprites, but it gets counted twice so now you have 6 stored in the WaterSprites Variable.
How do I fix this?
Thanks