script sunflare
Posted: Fri Mar 18, 2005 11:55 pm
i am trying to fix a map in my rotation. it is a foggy day map without sun. however this map will carry the sunflare of a previously loaded map. that means some peeps got sun and new arrivals wont.
i tried to script the sunflare in without any luck. like this - and is it in the right place? -
main
scoreboard stuff here
$world.sunflarename = "sun"
$world sundirection (50 50 50)
level waitTill prespawn
exec global/DMprecache.scr
level.script = maps/dm/trench.scr
exec global/ambient.scr trench
level waittill spawn
end
i tried to script the sunflare in without any luck. like this - and is it in the right place? -
main
scoreboard stuff here
$world.sunflarename = "sun"
$world sundirection (50 50 50)
level waitTill prespawn
exec global/DMprecache.scr
level.script = maps/dm/trench.scr
exec global/ambient.scr trench
level waittill spawn
end