Setactorsoundpitch

From EDukeWiki
Jump to navigation Jump to search

setactorsoundpitch <actor#> <sound#> <pitchoffset>

Can be used to change the pitch of a playing sound. Command was added to r2104 by helixhorned.

The pitch offset has the same meaning as the definesound pitch range endpoints, i.e. the units are 1/100th of a semitone. Note that just like the random pitch offset, increasing the pitch makes the sound duration shorter (and vice versa).