Floor_Waggle

From ZDoom Wiki

Jump to: navigation, search

138:Floor_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 seconds means it will waggle forever)

"Waggles" the floor of the affected sectors in a sine wave. The waggle causes the floor to move up and down, starting from the current phase offset of the max (if 0, for example, the waggle starts in the middle, and moves up). There is a "build-up" before it moves at its full speed and amplitude.

Personal tools