Please or Register to create posts and topics.

Trigger loop

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?

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...

ImageImageImageImageImageImage
Maps in Development:
[spoiler]- Penrose 04 (on hold)[/spoiler]

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

?????????????????????????????TWP Releases | My Workshop

@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 ;)