Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - etertaycb

Pages: [1]
General discussion / Quick Question about
« on: May 31, 2018, 09:33:23 AM »
Hello,  I've been playing around with solarus trying to get a feel for the engine and ive run into this error I know its probably a simple answer but for the life of me I cant seem to figure it out... here is the code..

elseif key == "p" then"bush")
elseif key == "l" then"boss")
elseif key == "[" and ~= nil  then
 last_playedmus =
elseif key == "[" and == nil  then


when i launch the game and press "L" the boss music ought to play but instead the console says   "No such music: 'boss' "  the music that is set to play in the map editor works fine, but for some reason I cant get any music to play via the script.  the rest of the function works fine and playing a sound effect with a key also works fine

could I get some quick help with this? thank you!

Pages: [1]