Jump to content

Stopactorsound

From EDukeWiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.