Difference between revisions of "Setactorsoundpitch"

From EDukeWiki
Jump to navigation Jump to search
Line 9: Line 9:
[[Category:EDuke32 specific commands]]
[[Category:EDuke32 specific commands]]
[[Category:Sprite manipulation]]
[[Category:Sprite manipulation]]
[[Category:Sound manipulation]]

Revision as of 12:26, 20 November 2011

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).