obtaining input parameter.

Avatar
linus
12 Posts
Posted Dec 14, 2007
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.
Advertisement
Registered users don't see ads! Register now!
Avatar
volt
104 Posts
Posted Dec 14, 2007
Replied 23 minutes later
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.

Avatar
linus
12 Posts
Posted Dec 14, 2007
Replied 2 hours later
thanks. that was what i wanted.
Avatar
volt
104 Posts
Posted Dec 14, 2007
Replied 20 minutes later
Glad to help. Could you spill on what you are doing with it? I'm curious If it's secret that's fine, though
Avatar
msleeper
4,095 Posts
Member
Posted Dec 14, 2007
Replied 1 hour later
Sounds like he is trying to count something.
Avatar
youme
937 Posts
Posted Dec 14, 2007
Replied 40 minutes later

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

Advertisement
Registered users don't see ads! Register now!
Avatar
volt
104 Posts
Posted Dec 14, 2007
Replied 2 hours later

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