Stopactorsound

From EDukeWiki
Jump to: navigation, search

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.