How do I make fire deactivate by water in BP?

How do I create custom nodes for the Deactivate function that dictates when the fire particles deactivate?
I need to deactivate it first by water, both by the oceanplane and by heavier/heavy rain, and also very strong wind.

How to I create this in blueprint?

I am trying to implement the rain and wind right now.

You can set threshold values such as “if the weather is 75% rainy than the fire would deactivate”. The same goes for wind as well.