Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Since PlaylistQoL is integrated into core, the macro function FurnacePlaylistQoL.PlaySound no longer works #111

Open
ArdonDaros opened this issue Sep 17, 2021 · 0 comments

Comments

@ArdonDaros
Copy link

ArdonDaros commented Sep 17, 2021

I used to have a macro which would utilize the function FurnacePlaylistQoL.PlaySound to play certain sound effects in conjuction with other macros, but since PlaylistQoL has been integrated into core, the function no longer works.

I'm unable to find if there is a replacement code snippet I can use to perform the same function. I'm not a coder and I don't really understand code that well, but it would be nice to retain this function as it enables voice set macros and other fun stuff.

For instance, I have a library macro (SFXbuffs) that contains the code:

if(args[0] === "SFXGlobeShort") FurnacePlaylistQoL.PlaySound("SoundboardSFX", "SFXGlobeShort", true)

and I can use that to play the sound when I run another macro:

let SFXbuffs= game.macros.getName("SFXbuffs");
>>>other code stuff<<<
SFXbuffs.execute("SFXGlobeShort")

Edit: Nevermind, this has been fixed through other means, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant