Entity func bobbing

From Mod Wiki
Revision as of 13:36, 8 November 2007 by Ducks (talk | contribs) (Initial version)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Generic bobbing entity. It will bob on the Z axis by default.


Entity Keys

classname func_bobbing

x_axis boolean
set to 1 to rotate around x-axis.
y_axis boolean
set to 1 to rotate around y-axis.
height variable
amplitude of bob.
speed variable
seconds to complete a bob cycle.
phase variable
the 0.0 to 1.0 offset in the cycle to start at.
dmg variable
damage to inflict when blocked.
snd_open sound
sound to play when opening.
snd_close sound
sound to play when closing.
snd_opened sound
looping sound for it's opened state.

See Also