Sound pitch

From EDukeWiki
Revision as of 21:29, 23 November 2007 by DeeperThought (talk | contribs) (New page: Changes the pitch of all sounds for the specified player. Negative values lower pitch, positive values raise pitch. Pitch will remain altered, even if a new game is started, until sound_...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Changes the pitch of all sounds for the specified player. Negative values lower pitch, positive values raise pitch. Pitch will remain altered, even if a new game is started, until sound_pitch is set back to 0. Note that sound_pitch will not affect the pitch of sounds already being played (so a looping sound will not be altered until the next time it starts).

Example:

  setplayer[THISACTOR].sound_pitch -1024

...will lower the pitch of sounds as if the player were underwater.