SetSkyScrollSpeed
void SetSkyScrollSpeed (int sky, fixed skyspeed);
Usage
Changes the scrolling speed of a sky. This is useful in conjunction with ChangeSky.
Parameters
- sky: either 1 or 2.
- skyspeed: the desired scrolling speed.
Examples
script 1 ENTER { SetSkyScrollSpeed (1, 155); // Or 0.002365, since the speed is a fixed point value }
See also
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.