- 7
- Posts
- 8
- Years
- Seen Dec 16, 2018
I have an idea for scripting multiple weather on the same map, but I have no idea how to implement it. I was thinking the pseudo-code would be something like this:
Generate Random number X between 1 and 100
If X <= 5, the weather is rainy
Else, if X <= 15 AND it is daytime, the weather is sunny
Else, no weather
Would something like this work? Has someone already done this? How would I implement such a script and where would it go (sorry, I have very, very little programming experience)?
Generate Random number X between 1 and 100
If X <= 5, the weather is rainy
Else, if X <= 15 AND it is daytime, the weather is sunny
Else, no weather
Would something like this work? Has someone already done this? How would I implement such a script and where would it go (sorry, I have very, very little programming experience)?