Using Expression in Timer with equation to create lightning
butterbean
Member Posts: 4,315
Is there possibly an equation that can be used in a timer that can say, create lightning flashes at random intervals of time? Like flash twice over a period of 2-3 seconds, then flash 3 times again over period of 2-3 seconds or something like that?
I was thinking this might be possibly with the new expression added to the timer... any ideas?
Otherwise I was just going to create a spawner with various different timers for the lightning effect
I was thinking this might be possibly with the new expression added to the timer... any ideas?
Otherwise I was just going to create a spawner with various different timers for the lightning effect
Comments
so:
Every: Random (2,12)
Spawn lightning
Would spawn lightning at some point between 2 and 12 seconds.
Does that help?
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
How did you do the destroy behavior? Did you place it in the spawner or the actor itself? If so, how did you create that rule in conjunction with spawning the lightning at random?
Thanks Quantum
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io