Blockland Forums > Modification Help
Schedule Help
Jasa 12265:
--- Code: ---package DayAndNight
{
function Time4(%obj)
{
new Sky(Sky) {
position = "336 136 0";
rotation = "0 0 1 0";
scale = "1 1 1";
materialList = "base/data/skies/Sky_Default/resource.dml";
cloudHeightPer[0] = "0.0";
cloudHeightPer[1] = "0.0";
cloudHeightPer[2] = "0.0";
cloudSpeed1 = "0.0";
cloudSpeed2 = "0.0";
cloudSpeed3 = "0.0";
visibleDistance = "750";
fogDistance = "500";
fogColor = "0.000000 0.000000 0.100000 1.000000";
fogStorm1 = "0";
fogStorm2 = "0";
fogStorm3 = "0";
fogVolume1 = "0 0 0";
fogVolume2 = "0 0 0";
fogVolume3 = "0 0 0";
fogVolumeColor1 = "128.000000 128.000000 128.000000 0.000000";
fogVolumeColor2 = "128.000000 128.000000 128.000000 0.000000";
fogVolumeColor3 = "128.000000 128.000000 128.000000 0.000000";
windVelocity = "0 0 0";
windEffectPrecipitation = "1";
SkySolidColor = "0.000000 0.000000 0.200000 1.000000";
useSkyTextures = "0";
renderBottomTexture = "0";
noRenderBans = "0";
schedule(240000, 0, Time4, %obj);
};
}
--- End code ---
Still not working.
phflack:
try lowering the time on it (the 240000), as it might be too high, i think there is a limit of 30000 or 60000, although maybe it's higher
Uristqwerty:
Also, you put it in the new(){};, swap it and the line below it.
Jasa 12265:
Got it working, now I'll just have to wait for the schedules to see if it's "Working".
Jasa 12265:
--- Quote from: phflack on November 28, 2010, 10:43:10 PM ---try lowering the time on it (the 240000), as it might be too high, i think there is a limit of 30000 or 60000, although maybe it's higher
--- End quote ---
I can't lower it, that's 4 minutes right?