I'm looking to solve the issue where a trigger will be fired more than once for a single event (that has no duplicates).
I've tried using a boolean and a timer, a timer and another trigger with timer expired, a boolean that is never reset, and turning the trigger off without it coming back on at all. All times I've tested the trigger fires more than once (however in debug mode the trigger only shows up once). If anyone has any information on this glitch I'd really like to know.
So I took a look at your map, and your trigger is only firing once. It seems that the issue you are encountering that makes it look like the trigger is running more than once is that the "Points" variable that you increment in the Team Scoring, also gets incremented when you kill a unit. The problem is that when you kill a unit, the scoreboard isn't updating, so it will still say 0, but when you cap a flag, you get another point added and then it updates the scoreboard. So these are the types of scenarios you probably ran into:
Run to the enemy flag, kill two units, grab flag and then cap at home base. Score is now 2 (kills) + 1 (flag cap) = 3; Making it looking like the trigger ran THRICE (Conan would be so proud).
But if you just run to the enemy flag and not kill anyone and then cap, the score will be 1.
I'm looking to solve the issue where a trigger will be fired more than once for a single event (that has no duplicates).
I've tried using a boolean and a timer, a timer and another trigger with timer expired, a boolean that is never reset, and turning the trigger off without it coming back on at all. All times I've tested the trigger fires more than once (however in debug mode the trigger only shows up once). If anyone has any information on this glitch I'd really like to know.
This project page goes over the issue and offers up some grounds for testing: http://www.sc2mapster.com/maps/ds-movement-test/
@DrakenStark: Go
It's hard to say what the issue could be without a bit more context. Any chance you could post an example?
@DrakenStark: Go
So I took a look at your map, and your trigger is only firing once. It seems that the issue you are encountering that makes it look like the trigger is running more than once is that the "Points" variable that you increment in the Team Scoring, also gets incremented when you kill a unit. The problem is that when you kill a unit, the scoreboard isn't updating, so it will still say 0, but when you cap a flag, you get another point added and then it updates the scoreboard. So these are the types of scenarios you probably ran into:
Run to the enemy flag, kill two units, grab flag and then cap at home base. Score is now 2 (kills) + 1 (flag cap) = 3; Making it looking like the trigger ran THRICE (Conan would be so proud). But if you just run to the enemy flag and not kill anyone and then cap, the score will be 1.
Hope this helps.
@Jentzsch: Go
OMG thank you soo much lol. I can't believe I overlooked that. Thanks man!