Skip to content

Bindentity vs Hitwall animation #131

@dbaldan

Description

@dbaldan

Description

If you use bindentity() to bind an entity (a) over another (b), when (b) hits a wall and has the "HITWALL" animation (which triggers itself instantly when the entity hits a wall if it's on a fall animation), the (a) won't be killed even if you use the bindanimation as 4 (Kill the entity if the animation doesn't match).

Debugging

Reproduce

  1. Add the animation HITWALL to an entity
  2. Add and animation where you will have a binded entity, like a BURN animation with fire sprites binded to it.
  3. Knocks that entity against a wall using an attack wich will trigger that animation (like BURN).

It would be a little hard to reproduce if you don't have a mod which uses bindentity and has hitwall animation. I can provide a beta testing version of my module

Expected behavior

Since we are using "Kill the entity if the animation doesn't match", the (b) entity should be killed instantly, because it doesn't have a HITWALL animation.

Version

  • Windows and Android
  • 4432 and 6630

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions