Stopactorsound

From EDukeWiki
Revision as of 22:14, 8 July 2010 by DeeperThought (talk | contribs) (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....')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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.