Home   Help Search Login Register  

Author Topic: Random weather  (Read 629 times)

0 Members and 1 Guest are viewing this topic.

Offline desper8

  • Members
  • *
  • REBEL Council member
    • http://rebel.clanzone.at/board/
Random weather
« on: 12 Jan 2004, 18:09:20 »
GRRRR
i did a search for weather and fond nothing that i can use

i want a weather script that
just it to changes every 3mins to a random weather
like foggy raining sunny

i know the script is in the minibattlefield MPmission
but its compacated for me to understand because

it involes .jpgs
and its not in english

any one wanna gimme a script?
friendly clan battle any one?
PM me

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Random weather
« Reply #1 on: 12 Jan 2004, 18:54:28 »
Quote
#loop
_tam = 1200+(random 600)
_i = (random 1)
_tam setrain _i
_tam setfog (random 0.5)
if (_i > 0.5) then {_i = 0.7+(random 0.3)} else {_i=(random 1)}
_tam setovercast _i
~_tam
goto "Loop"

used in 1 of ma missions (da link is in ma sig line :P but check it a week from now cuz im workin on new beta ver ;D - advertisin is good ;))

edit da _tam variable 2 change da time everythin changes in ;)

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta