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

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.