SetSkyScrollSpeed
Jump to navigation
Jump to search
void SetSkyScrollSpeed (int sky, fixed skyspeed, [float skymistspeed]);
Usage
Changes the scrolling speed of a sky. This is useful in conjunction with ChangeSky.
Parameters
- sky: Either 1 or 2.
- skyspeed: The desired sky scrolling speed.
- skymistspeed: The desired sky mist scrolling speed.
Examples
script 1 ENTER { SetSkyScrollSpeed (1, 155); // Or 0.002365, since the speed is a fixed point value }