Stopactorsound: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Created page with ''''stopactorsound''' <sprite ID> <sound#> Causes the specified actor to stop playing the specified sound. Unlike stopsound, it will only stop a sound coming from one actor....'
 
(No difference)

Latest revision as of 22:14, 8 July 2010

stopactorsound <sprite ID> <sound#>

Causes the specified actor to stop playing the specified sound. Unlike stopsound, it will only stop a sound coming from one actor. This is useful, for example, if one of the player's weapons makes a looping sound, and you want the sound to stop as soon as the player changes weapons, but allow other instances of the sound (e.g. from other players) to continue.