Small counter logic problem
So I have a counter and I just want to subtract 1 from it every time the actor that it's in is touched.
The problem is it keeps running twice so I keep losing 2 instead of 1. I posted a screenshot of the code below.
http://i.imgur.com/ZcChh.png
I'm really stumped because I figured my logic was sound does anyone know what could be causing this? Thanks.
The problem is it keeps running twice so I keep losing 2 instead of 1. I posted a screenshot of the code below.
http://i.imgur.com/ZcChh.png
I'm really stumped because I figured my logic was sound does anyone know what could be causing this? Thanks.
Best Answer
-
Braydon_SFX Posts: 9,273
Are you spawning that new actor on top of the old on? If so, you might be touching both actors and then subtracting one from each.My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
Answers
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx