[SOLVED] Loop a logic_relay or logic_auto?

Avatar
Konke
161 Posts
Posted Jan 09, 2015
I want to implement some steam coming out of a pipe and I'd like to make it go on and off, in a loop so to speak. Any ideas on how I'd be able to achieve that? Thanks in advance!
Advertisement
Registered users don't see ads! Register now!
Avatar
josepezdj
2,386 Posts
Posted Jan 09, 2015
Replied 27 minutes later
The simplest approach would be to have a logic_timer with its "Oscilator" flag checked, and then these couple of outputs:

  • OnTimerHigh > [info_particle_system_name] > Start
  • OnTimerLow > [info_particle_system_name] > Stop

Set the time between both outputs in the logic_timer's "Refire interval" property. And don't forget to send it an activation output, or make it start enabled

If you want a more random activation-deactivation of the particle, then take a look to the logic_case entity and its input "PickRandom".

Avatar
Konke
161 Posts
Posted Jan 10, 2015
Replied 19 hours later
Thanks once again, josepezdj!