I am trying to make a func_physbox, basicly a train driveable.

This is what i’ve tried to do:

I made a prop_vehicle_prisoner_pod. This an output on it:

Output: PressedAttack

Target: math_counter

Input: Add

Parameter override: 50

I attempted to add a value of +50 to the math_counter every time i click on the left mouse button.

This is what the math_counter does:

Output: Outvalue

Target: phys_thruster

Input: Scale

It sets the scale value of the thrusters. In this case, it is suposed to increase by 50 every time i click.

I have tested the math_counter, it works. I did ent_fire math_counter add 50, and the thrusters did their job properly. Just the connection between the pod and the math_counter doesnt work. Could somebody help with this?

Thanks in advance!

Never mind, i figured out. I added a game_ui, forgot about that. x)