![]() |
||||||||||
|
||||||||||
blade2k
» articles & tutorials
Random 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-2010 blade2k.net - parsed in 0.012 seconds - view active users
[19811 members][newest member: donkeyPunch]
Active Users (1)[ vincentvardia ]
|
||||||||||