This addon adds a new region type to WeakAuras that allows for stop motion animations. There is a return status, which is 1 if the sound was OK and nil if it couldn't be found. nUI is a single, custom, hand-coded addon which replaces the UI. PlaySoundFile('Sound\\Music\\ZoneMusic\\DMF_L70ETC01.mp3') Or one of the ones shipped with WoW ( Power of the Horde, in this case): PlaySoundFile('Interface\\AddOns\\MyAddOn\\mysound.ogg') You can play a sound file included with your addon: channel String – Either 'Master' (this will play the sound also with disabled sounds like before 4.0.1), 'SFX', 'Ambience', 'Music'. The file must exist prior to logging in to WoW.
Unlike PlayMusic, you cannot stop the playback.Īrguments path String – The path and name of the sound file you'd like to play, relative to the WoW directory both ogg and mp3 formats are accepted.