Is it possible to turn lights on one by one. My goal is to have the player step on a trigger which would then turn on spotlights within the scene one by one, creating sort of a pulsing effect. In unity this could be achieved by using coroutines, is there something similar that could be used in UE4?
There’s few things that cannot be done. It’s more about choosing the right tools for the job in order to achieve the desired effect. Going by the description I got this:
- add lights to an array
- run a timer that executes an event every .25s
- pull an element from the array → show it
- add index
- if index exceeds array bounds, invalidate timer
This can be scripted better but demonstrates the approach that could work.
This is exactly what I wanted, wonderful! Thank you!