hmmm...
i dont know if it would be a good idea to have it like the rain cog. the rain cog makes the rain_tpl for every surface, if i did it like that and you had a lot of sky surfaces it would make for a lot of lightning everytime it wanted to strike. if you like that idea or want to try it heres the cog.
it works ok if you only have a few sky surfaces. setup is mostly the same as the rain cog. the sound plays local, meaning it plays everywhere on the level.
but...
if your level isnt too big there are two other choices for makeing less lightning.
---
1- use ghosts to mark lightning places and the lightning would choose one or two of those ghosts at random to make the lightning from.
2- i could make is so you choose some sky surfaces and the lightning would be made randomly around one or two of those surfaces.
---
the the first method would almost be the easiest but the second would save on the thing count.
the second method would also need little more setup because you would have to manually input the surfaces want lightning to come from.
which do you want if any?
------------------
Famous last words - "It seemed like a good idea at the time."
Famous last words - "It seemed like a good idea at the time."