Changing key values with trigger outputs

russtolium

L1: Registered
May 27, 2008
15
0
Hello! I'm getting my feet wet with entities and I/O fun and I'm trying to figure out if this is possible:

I have a trigger brush. (A)
I have a trigger capture zone brush. (B)

Basically, I'm trying to make an output for (A) to (B) that will change the 'Time to cap (sec)' key value.

So, say when you touch (A), an output changes the value of the 'Time to cap (sec)' value from 10 seconds to 20.

Is this possible? Do I need to bring other entities into the mix? I tried just typing the key value into the input field for A's output, but it didn't seem to have any effect.
 

Pseudo

L6: Sharp Member
Jan 26, 2008
319
150
You can change any keyvalue by using the "AddOutput" input. The parameter is in the format <key> <value>. So the parameter would be "area_time_to_cap 20" to change it to 20 seconds.

Another way would be to have multiple trigger_capture_area with different time settings. All except one would start disabled. You could then Enable and Disable them as needed.