Small counter logic problem

Goodnight GamesGoodnight Games NYCMember, PRO Posts: 184
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.

Best Answer

  • Braydon_SFXBraydon_SFX Posts: 9,273
    Accepted Answer
    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.

Answers

Sign In or Register to comment.