fantasycalendar / FoundryVTT-Sequencer

This module implements a basic pipeline that can be used for managing the flow of a set of functions, effects, sounds, and macros.
Other
47 stars 24 forks source link

[BUG] - Sequencer v3.2.2 doesn't play animation #233

Closed boss-loot closed 3 months ago

boss-loot commented 3 months ago

Describe the bug After updating to Sequencer v3.2.2 I noticed that a lot of animations won't play. No console error, just won't play. I downgraded to Sequencer V3.2.1 and the animation play as expected.

To Reproduce Sample world macro to reproduce: const myToken = canvas.tokens.controlled[0]; const targetToken = Array.from(game.user.targets)[0]; const elevation = targetToken.document.elevation;

let sequence = new Sequence();

//ATTACK sequence .effect() .file('jb2a.melee_attack.01.butterflysword.01.1') .atLocation(myToken, { gridUnits: true }) .rotateTowards(targetToken) .center() .spriteScale(0.35) .spriteOffset({ x: 0.4 }, { gridUnits: true }) .elevation(elevation) .waitUntilFinished(-800);

await sequence.play();

Expected behavior An attack animation.

Setup:

Active modules:

Haxxer commented 3 months ago

Fixed in 3.2.3 hotfix