A math counter that cannot count
Thoughts?
* initial value 0
* Max value 15
* OnHitMax (do stuff)
Only 15 inputs that say add 1?
Not accidentally two times add 1 or add 2 somewhere?
Alexander Bell wrote:
If its going off one too soon, why not try changing 15 to 16?
because it's often better to solve the problem rather then working around it.
Alexander Bell wrote:
If its going off one too soon, why not try changing 15 to 16?
not sure if good idea...
but why dont you all take a look. I extracted the parts that effect the end of the game and placed it in a new vmf.
Okay i think i removed the turret ammo this time. 
What you had to do was kill the turrets to win the game. The cubes keep spawning away from where they are aligned in the vmf. I don't know why the hell that always happen. But you can just enter noclip and toss the cubes at them. They are set to explode. once all 15 are dead the vacuum tube is supposed to rise upwards. But this happens when only 14 die
I will come back later to double check this. I gotta go to work
trigger_clease11 has the Add 1 output twice.
The cubes are spawning at some other position because env_entity_maker is moving them.
It uses the cubes position relative to the point_template, but if the entity_maker is moved, it also moves them.
I don't see any reason why you would need a env_entity_maker here, they are just for parenting spawns to something, or giving them speed. Just trigger the template itself with "ForceSpawn".
And because all cubes will hit their target now, you should remove all unnecessary cubes, 240 are really a lot.
You can also safe a lot of brushes. Just make these triggers surrounding a turret one brush, not a hollow one consisting out of 5 brushes. Because you don't have the NPC flag enabled, nothing should happen. If it still triggers the trigger, just use filter_class.