How to make lap counter

That's the plan

L4: Comfortable Member
Jul 8, 2018
183
38
I'm trying to make a lap counter using a trigger_multiple and a math_counter. Each time you make a lap, a message appears on the HUD (Lap1, lap2, etc.) The problem is I can't get the math_counter to activate for a specific number value. Any suggestions?
 
T

The Asylum

I don't have access to Hammer right now, but right off the top of my head I'd suggest just using multiple math_counters, and reset them whenever you need to.

How many laps are you intending?
 

That's the plan

L4: Comfortable Member
Jul 8, 2018
183
38
I don't have access to Hammer right now, but right off the top of my head I'd suggest just using multiple math_counters, and reset them whenever you need to.

How many laps are you intending?
3 laps. I set the max value to 4, so when you pass for a fourth time it says "finished!"
 
T

The Asylum

Yeah, I'd just use four math_counters. I'm sure there's a way to make it work with a logic_compare or something, but why make things harder than they need to be? math_counter is a VERY simple entity, I doubt very much that having a handful of them will impact a map's processing demands in any noticeable way
 

That's the plan

L4: Comfortable Member
Jul 8, 2018
183
38
Yeah, I'd just use four math_counters. I'm sure there's a way to make it work with a logic_compare or something, but why make things harder than they need to be? math_counter is a VERY simple entity, I doubt very much that having a handful of them will impact a map's processing demands in any noticeable way
Thanks! For the trigger should I use "OnStartTouch" or "OnStartTouchAll"?
 
T

The Asylum

I suppose that depends on what exactly you're trying to do. What does doing laps have to do with the goal of your map?