I have an Instance Variable that starts at 1 for a turretCount since I give the player 1 turret to start the level. When they add a turret the turretCount increases and works fine. However, when the enemy reaches the target the turretCount decreases - which also works fine. The problem I'm having is that I want to end the level/game when the turretCount reaches zero - but that doesn't happen.
I have it setup to go to the score layout when it reaches zero but I'm not sure how to overcome that "initial value" of one.
Any ideas? Thanks in advance for your help.