Trigger loop
Quote from Lpfreaky90 on February 27, 2012, 4:44 pmHey all,
I'm currently working on a level for Portal Stories, I want to have a func_spark to be constantly going on for a while so I created a logic_relay:
Ontrigger, Spark, Startspark, 0.00
Ontrigger, Spark, Stopspark, 1.00
Ontrigger, !self, trigger, 3.00A logic_auto triggers this relay onmapspawn. But the loop doesn't seem to work.
I tried using the name of the trigger instead of !self but that didn't work either.
Any suggestions?
Hey all,
I'm currently working on a level for Portal Stories, I want to have a func_spark to be constantly going on for a while so I created a logic_relay:
Ontrigger, Spark, Startspark, 0.00
Ontrigger, Spark, Stopspark, 1.00
Ontrigger, !self, trigger, 3.00
A logic_auto triggers this relay onmapspawn. But the loop doesn't seem to work.
I tried using the name of the trigger instead of !self but that didn't work either.
Any suggestions?
Quote from FourthReaper on February 27, 2012, 5:07 pmThis is a bit trivial perhaps, and I'm sure you've checked already, but did you uncheck the remove on fire spawnflag?
Also, have you tried turning it on and off again?
EDIT: Okay, yeah, I'm with chicken on this one. Just ignore my degenerate ramblings...
This is a bit trivial perhaps, and I'm sure you've checked already, but did you uncheck the remove on fire spawnflag?
Also, have you tried turning it on and off again?
EDIT: Okay, yeah, I'm with chicken on this one. Just ignore my degenerate ramblings...
Quote from ChickenMobile on February 27, 2012, 5:41 pmI am pretty sure that a relay cannot activate itself without enabling the fast reset flag, however I would have used a timer to do the same thing.
Create a timer with a 3 second interval OR use a timer with a random amount of time between 1-3, make it start enabled then put the output:
OnTimer, Spark, SparkOnce, 0.00
I am pretty sure that a relay cannot activate itself without enabling the fast reset flag, however I would have used a timer to do the same thing.
Create a timer with a 3 second interval OR use a timer with a random amount of time between 1-3, make it start enabled then put the output:
OnTimer, Spark, SparkOnce, 0.00
Quote from Lpfreaky90 on February 27, 2012, 8:56 pm@chickenmobile: I hate to use timers, for some reason I think relays are easier.
So I took the liberty to cheat a bit:Sparkie_relay:
Ontrigger, Spark, Startspark, 0.00
Ontrigger, Spark, Stopspark, 1.00
Ontrigger, sparkie_relay_2, trigger, 3.00Sparkie_relay:
Ontrigger, Sparkie_relay, trigger, 0.00That works
@chickenmobile: I hate to use timers, for some reason I think relays are easier.
So I took the liberty to cheat a bit:
Sparkie_relay:
Ontrigger, Spark, Startspark, 0.00
Ontrigger, Spark, Stopspark, 1.00
Ontrigger, sparkie_relay_2, trigger, 3.00
Sparkie_relay:
Ontrigger, Sparkie_relay, trigger, 0.00
That works ![]()







