Please or Register to create posts and topics.

obtaining input parameter.

how do you obtain the paramter for Inputs. I need to get a math_counter's number OnOutValue. It says it has a paramter but don know how to use it.

Give me more info on what you're trying to do, and i'll help you out :)

By the way, if you want the math_counter to put a value out every time it changes, you're looking to use the OutValue output, then leave the parameter blank and the math_counter will put it's value into the parameter and send the output every time it changes.

thanks. that was what i wanted.

Glad to help. Could you spill on what you are doing with it? I'm curious :) If it's secret that's fine, though

Sounds like he is trying to count something.

[Important Threads] Forum Rules | Welcome to the new Thinking With Portals
Please do not Private Message me for assistance. Post a thread if you have questions or concerns.
If you need to contact the staff privately, contact the Global Moderators via Discord.
msleeper wrote:
Sounds like he is trying to count something.

:potd:

msleeper wrote:
Sounds like he is trying to count something.

Nah, it looks like he's trying to change something according to how many times something happens.

Like a clock: You'd set a timer to trigger every second to add to a math_counter, then OutValue to change the texture index accordingly.

I did this to make a clock that counted up or down, similar to those that you see when you first start Portal, activated by buttons (or anything else for that manner)

/too much time on his hands