Sound pitch: Difference between revisions
Jump to navigation
Jump to search
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_... |
mNo edit summary |
||
Line 6: | Line 6: | ||
...will lower the pitch of sounds as if the player were underwater. | ...will lower the pitch of sounds as if the player were underwater. | ||
[[Category:Player structure members]] |
Revision as of 01:34, 21 April 2008
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.