Vinifera icon indicating copy to clipboard operation
Vinifera copied to clipboard

[New Feature] Allow chaining reversed and normal anims and multiple reversed anims

Open Crimsonum opened this issue 1 year ago • 0 comments

First Check

  • [X] I added a very descriptive title to this issue.
  • [X] I used the GitHub search to find a similar issue and didn't find it.
  • [X] I have attached as much information as possible (screenshots, videos, links, etc).

Description

Animations can be chained together with Next, and they can be played in reverse via Reverse. Unfortunately for modders, these two logics are incompatible. Next is only triggered when the animation reaches its end frame. Because Reverse plays the animation backwards, it technically never reaches the end frame and so Next is not triggered.

In addition, Reverse does not seem to have any effect on child animations. In other words, if an animation is created via Next, even with Reverse=yes, the animation is played normally from start to end regardless.

Proposed Code (optional)

This should not require any new INI flags as the vanilla game has no chained animations where this could mess things up.

Additional Context

No response

Crimsonum avatar Jun 14 '23 14:06 Crimsonum