no edit summary
(added the link reference and promise of repair) |
No edit summary |
||
| Line 15: | Line 15: | ||
:(SoundFile) | :(SoundFile) | ||
:;SoundFile : String - The path and name of the sound file you'd like to play. This has been successfully tested with .wav and .mp3 files. Note that the path is relative to the World of Warcraft installation directory | :;SoundFile : String - The path and name of the sound file you'd like to play. This has been successfully tested with .wav and .mp3 files. Note that the path is relative to the World of Warcraft installation directory. | ||
---- | ---- | ||
| Line 38: | Line 38: | ||
There does not appear to be a bad error if the file is missing - it just won't play. There is a return status, which is 1 if the sound was OK and nil if it couldn't be found. | There does not appear to be a bad error if the file is missing - it just won't play. There is a return status, which is 1 if the sound was OK and nil if it couldn't be found. | ||
This API call was broken in patch 1.11 and was fixed in patch 1.11.2. | |||
---- | ---- | ||
{{Template:WoW API}} | {{Template:WoW API}} | ||