Hello,
I’m programming a racing game.
You can wreck your opponents and I want to count the enemies you’ve wrecked.
I do this in this way:
if(Wrecked){
Smoke.Emit();
EngineTorque = 0;
PlayerCar_Script.EnemyWrecked += 1;
}
I think you can see my issue. It will not count just 1 up it will count endless …
How can I fix this ? I also tried SendMessage, but it ends up in the same issue