Ceiling_Waggle

From ZDoom Wiki

Jump to: navigation, search

Ceiling_Waggle(tag, amp, freq, offset, time)

tag: Tag of affected sector
amp: Amplitude of the waggle (in 1/8 of a unit)
freq: Frequency of the waggle.  The higher the frequency, the quicker the waggle.
offset: Phase offset of the waggle
time: How many seconds the waggle lasts (0 means it will waggle forever)

Usage

"Waggles" the ceiling of the affected sectors in a sine wave. The ceiling starts moving upwards and downwards smoothly until it is in phase with the specified parameters. After the time the "waggle" dies down smoothly and the ceiling returns to its original height.

Effective when used as part of a group, each with slightly different offsets.

Examples

As the ceiling specials are fairly trivial, examples of every one can be found in the example wad, Squash. This wad runs on Map01 of Doom2.

Personal tools