Community Forum

Object visibility due to rainfall?

Forum Overview >> Scripting

Created01.05.2020 17:15

Kyle Schmeltzer (Sm3ltz) 01.05.2020 17:15
Hello. I am wondering if there is an existing LUA that could be used to change visibility due to current weather being rain? I'd like to add realism by showing a waterplane in the field while it is raining. If possible, even keeping that water there until the sun has been out for X amount of time. Thanks for any feedback!

Bilbo Beutlin (BBeutlin) 01.05.2020 21:13
The only weather related is SunAdmirer, which does just the opposite.

Perhaps you can use it with a trick to hide water when the sun shines.
For usage in your modmap add the user attribute onCreate:SunAdmirer.onCreate

Note: Log in to post. Create a new account here.