Skip to content

[GabeMZ_EventTouchInteract.js] Events on the same tile are executed in Sequence #1

Description

@rf-peixoto

Describe the bug:
When there is more than one event on the same tile, the plugin executes both. The priority is defined according to the tile update. That is, the last event to enter the area is executed before the others.

To Reproduce:
Create two events, one of which is tagged with the "Through" tag. Move both to the same tile and activate the operation with the mouse.

Expected behavior:
The behavior is unlikely, but not impossible. In case it happens, the plugin could only execute one of the events involved. It may even allow the developer to decide which one by creating a <priority: N> or similar tag.

Screenshots:
https://imgur.com/XGFWZza

Additional context:
I don't see why to "fix" the problem, preventing it from happening if desired. It can be an interesting feature.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions