SetSkyScrollSpeed

From ZDoom Wiki
Jump to navigation Jump to search

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