2DWorlds Forums
anyway to script music - Printable Version

+- 2DWorlds Forums (http://2dworlds.buildism.net/forum)
+-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4)
+--- Forum: Scripting (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=13)
+--- Thread: anyway to script music (/showthread.php?tid=2077)



anyway to script music - guineayoshi88 - 04-04-2011

or to get it in game, 50th post right here ;D


RE: anyway to script music - Scripter - 04-04-2011

(04-04-2011, 03:46 AM)guineayoshi88 Wrote: or to get it in game, 50th post right here ;D

Although this isn't really scripting, I would like to know how to get an ID for it.

But you put it in game, and I believe you play it with:

[lua]
game.World.Sound:play()
[/lua]


RE: anyway to script music - guineayoshi88 - 04-04-2011

we have no sounds to use though? amirite?


RE: anyway to script music - Blizzard - 04-04-2011

You can upload a sound to any site and then link to that.


RE: anyway to script music - Jacob__mybb_import1 - 04-05-2011

MP3s don't work, only .wavs and .aiffs.