Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Can't use Timed Goto and Audio Macros in Sugarcube

I updated to the new version of Sugarcube a while ago. Now I'm using r3402. I just tested my game and neither the Timed Go to macros nor the Html5 audio macros work anymore. It gives an error message when I try to use <<loopsound>>. "Error: cannot execute macros <<loopsound>>: Object doesn't support property or method 'parse'". For <<timedgoto>> and <<stopsound>> it gives pretty much the same error message. I also was using the <<timedreplace>> macro. That works perfectly.

Honestly, I have no idea how to fix this. I don't know anything about coding. These macros were working perfectly before, but now they are broken and I just don't know how to fix them.

Here's a link to the codes I was using. For the Html5 sound macro, I already changed "StoreArea" to "store-area", so I know that that's not the problem.

Timed Go to

Sound Macros

How do I update these for the new version of Sugarcube?

Comments

  • The current release version (and a few before) have a regression that breaks a few methods used by old-style scripts.  Your best bet is to either downgrade to the version you were previously using, if you still have it around, or wait a day (less actually) for the pending release which, among other things, fixes that issue.
  • Okay. I think I'll have to wait for the next release. Thank you for the help!
  • It's out now.  Let me know if you have any issues.
  • Okay. I'll test it out tomorrow when I wake up. Thank you!
Sign In or Register to comment.