Setactorsoundpitch

From EDukeWiki
Revision as of 12:26, 20 November 2011 by Jblade (talk | contribs)
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 seminote. Note that just like the random pitch offset, increasing the pitch makes the sound duration shorter (and vice versa).