FANDOM


Plays a specified sound in the game, given the file system path to the audio file.

PlaySoundByPath(Path);

Parameters Edit

Arguments Edit

Path
string - The file system path to the audio file to play.

Returns Edit

nil
void - A method call without return value.

Example Edit

PlaySoundByPath("music/rom/title.mp3")

or

PlaySoundByPath("music\\rom\\title.mp3")

Notes Edit

  • The path given is relative to the path where "Runes of Magic.exe" is located. For example: /Interface/Addons/MusicPlayer/music.mp3
  • Poorly formatted sound files can make the game crash;

Related Functions Edit

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.