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
41 stars 17 forks source link

[BUG] - Method moveTowards doesn't work #227

Closed boss-loot closed 3 weeks ago

boss-loot commented 3 weeks ago

Describe the bug Method moveTowards doesn't work.

To Reproduce Execute this world script: const myToken = canvas.tokens.controlled[0]; const targetToken = Array.from(game.user.targets)[0]; const elevation = targetToken.document.elevation; const gridSize = canvas.scene.grid.size;

await new Sequence()

.effect() .file('blfx.token.construct.stone3.shard.gem.obsidian.green.animated') .atLocation(myToken) .moveTowards(targetToken, { ease: 'easeOutSine' }) .moveSpeed(2.5 * gridSize) .scale(0.1) .elevation(elevation)

.play();

Expected behavior Expectation it's for the animation move from myToken towards targetToken but instead the animation play only on myToken.

Screenshots No error, just the animation won't play.

Setup:

Active modules:

Haxxer commented 3 weeks ago

Could you try and see if this is fixed in the pre-release? I tested it myself, but I would like your confirmation as you are one of Sequencer's power users :) https://github.com/fantasycalendar/FoundryVTT-Sequencer/releases/download/3.2.!9/module.json

boss-loot commented 3 weeks ago

Works perfect. Thanks.

Haxxer commented 3 weeks ago

Fixed in 3.2.1