![]() |
||||||||||||||
|
||||||||||||||
blade2k
» articles & tutorialsRandom Weather
Here's the code: Label 1# (Create Label Command) Change Variable: [####:Weather]Set Random (1 to 6) If Var(####:Weather)=4 Change Weather Condition: Rain, Low Wait 60.0sec Change Weather Condition: Rain, Med Wait 60.0sec Wait 60.0sec Wait 60.0sec Change Weather Condition: Rain, Low Wait 60.0sec Change Weather Condition: None Goto Label 1# :ELSE CASE Wait 60.0sec Wait 60.0sec Wait 60.0sec Wait 60.0sec Wait 60.0sec Goto Label 1# :END CASE Basically, this makes a 1 in 6 chance of rain. |
|
|||||||||||||
|
©2002-2008 blade2k.net - parsed in 0.002 seconds - view active users
[15982 members][newest member: MiyakoArima]
Active Users (0)
|
||||||||||||||