-Chrono_MOT- Posted February 4, 2003 Share Posted February 4, 2003 In my latest map, I have a func_timer attached to a switch so that way it will shut itself off. The only problem is, the triggers attached to the func_timer trigger as they are supposed to, and shut off as they are supposed to, but they keep going. Like, I have it set for 5 seconds. Press the switch, 5 seconds later it shuts off. Then it comes back on in 5 seconds. Anyone have any idea how I can get it to shut off, and NOT come back on? Link to comment Share on other sites More sharing options...
wedge2211 Posted February 4, 2003 Share Posted February 4, 2003 Is your func_timer triggering itself? Check to make sure that the func_timer has different target and targetname keys. (e.g., not target t13 and targetname t13) You might have to throw a target_relay in at some point so that the timer doesn't target itself. Link to comment Share on other sites More sharing options...
-Chrono_MOT- Posted February 4, 2003 Author Share Posted February 4, 2003 I put the targetname as timer, and the target as t(something), so they aren't the same. For example, in ffa_deathstar, the death star beam goes off when you activate the trigger, but then it shuts itself off until you activate it again. That's what I am trying to do, but it doesn't seem to be working. I'll try a relay, but I'm not sure what that even does ^_^. Link to comment Share on other sites More sharing options...
-Chrono_MOT- Posted February 4, 2003 Author Share Posted February 4, 2003 Nevermind wedge, I figured it out. People, if you want to a brush that times itself out so that it triggers, turns itself off, and deactivates the timer at the same time, you do this: switch:timer->triggers/targets timer->target_delay->target_relay for instance: Timer: targetname timer, target trigger Triggers/Targets/target_delay - targetname trigger target_delay - target deactivate target_relay - targetname deactivate, target timer This will close the infinite loop a timer creates. Link to comment Share on other sites More sharing options...
Shadriss Posted February 5, 2003 Share Posted February 5, 2003 Interesting to see someone else finally using the Func_timer. It took me a while to get it working for DOTF on the forcefields. Now, as to the original problem... let me see if I can make it simple for those who found your explanation confusing (as I did... glad I knew what *I* did...) A func_timer is basically a way to keep a triggered brush moving at set intervals (IE a door that opens every 10 seconds). It is either on, and constantly sending a trigger pulse every X number of seconds, or it is off (the func_timer is triggerable) and it does nothing. I'll use the DOTF2 laserdoors as my example. I have a func_timer that sends a triggerpulse every X seconds. It sends a trigger to the first set of doors, telling them to open. The door itself has a WAIT value in it's properties, so it will close on it's own. It will open again when it recieves the next trigger from the func_timer. If I'd wanted to be able to STOP the laser doors from opening, I would have added a switch that targeted the func_timer, turning it off, or back on, as the case may be. This can be very useful, but so far, it hasn't been used often, so I'm sure there are a lot of uses for it I havent seen. COuld you explain EXACTLY what you were trying to do with it this time, and EXACTLY how you set it up, ,as an example for us? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.