Spawning Lightning Near A player during a thunderstorm.

Hello! I am working on a set of nodes to determine know when it is a thunderstorm during a Ultra Dynamic Weather Event. And then too get a random players location (this is for a multiplayer game) and then to spawn lightning along with its corresponding sounds etc. Does anyone have any advice on how id go about doing this? Thanks! :slight_smile:

Hello!

Where do you need more advice?

  • About the lighting could be do with a Niagara effect.
  • You can use camara effect to simulate a flash in the lighting view.

I found this set of videos in youtube:

let me know if is work for you.

Well the problem isnt making the lightning. I have that already with UDW (Ultra Dynamic Weather) and so my problem is, getting the lightning to flash around the player while detecting that a thunderstorm is happening. I am trying to achieve this via just spawning the lightning, and the calculating the players position and then spawning the lightning in a -1000 by 1000 square. However I am not sure how to exactly detect that there is a currently active thunderstorm within my level, I am not sure which node in UDW I would need to achieve this

If I am correct you can get the UDW actor from the map an get the current weather type.