Jump to content
BetterDeadThanZed

Just another weather question

Recommended Posts

I read this post on reddit but it's closed so I can't reply: 

Spoiler

 

My question is about this line:

 weather.GetRain().Set( Math.RandomFloatInclusive(0.0, 0.2), 0, 0);

If I change that line so that the 0,0, 0.2 is something larger, like 0.0, 0.7, does that mean that the intensity can change between those two values during the server session? I want the weather to change, ie: rain tapering off, clouds going away, etc during a session.

Share this post


Link to post
Share on other sites

I usually try to avoid 0.0 tbh with the weather script.

but yes, in theory that would mean it, albeit, Set actually is supposed to set the current rain, and it very much depends whether the weather system itself reacts or not.

maybe better to ask in that reddit post however.

Share this post


Link to post
Share on other sites
9 hours ago, g4borg said:

I usually try to avoid 0.0 tbh with the weather script.

but yes, in theory that would mean it, albeit, Set actually is supposed to set the current rain, and it very much depends whether the weather system itself reacts or not.

maybe better to ask in that reddit post however.

The reddit post is closed so I can't reply.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×