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

Setting particle effect animation through API results in error #832

Open
MaterialFoundry opened this issue Dec 28, 2024 · 0 comments
Open
Labels
bug Something isn't working to be confirmed

Comments

@MaterialFoundry
Copy link

MaterialFoundry commented Dec 28, 2024

Expected Behavior

Calling:

Hooks.call("fxmaster.switchParticleEffect", {
  name: "birdsFx",
  type: "birds",
  options: {
      animations: "glide"
  },
});

Should result in enabling the birds effect with the "glide" animation.

Current Behavior

Returns an error:
image

The same happens with the "eagles" effect.

Steps to Reproduce

  1. Call the above mentioned hook

Context

No response

Version

v4.1.0

Foundry VTT Version

v12.331

Operating System

Windows 10

Browser / App

Native Electron App

Game System

dnd5e v4.1.2

Relevant Modules

No response

@MaterialFoundry MaterialFoundry added bug Something isn't working to be confirmed labels Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working to be confirmed
Projects
None yet
Development

No branches or pull requests

1 participant