Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: include prior mapID in onChangeMap #5139

Open
Jmr3366 opened this issue Jan 18, 2025 · 0 comments
Open

[Feature]: include prior mapID in onChangeMap #5139

Jmr3366 opened this issue Jan 18, 2025 · 0 comments
Labels
feature Adding functionality that adds value

Comments

@Jmr3366
Copy link
Contributor

Jmr3366 commented Jan 18, 2025

Describe the Problem

With the new onChangeMap event, it passes through macro.args the mapID of the map you're going to, the destination.
I'd like to compare the from map and to map via macro.script to perform different actions.

The Solution you'd like

Include as a second string list entry in onChangeMap the from mapID

Alternatives that you've considered.

Tracking all the maps and tokens on the maps and doing compares to figure out where the token came from.

Additional Context

No response

@Jmr3366 Jmr3366 added the feature Adding functionality that adds value label Jan 18, 2025
Jmr3366 added a commit to Jmr3366/maptool that referenced this issue Jan 18, 2025
Jmr3366 added a commit to Jmr3366/maptool that referenced this issue Jan 19, 2025
Jmr3366 added a commit to Jmr3366/maptool that referenced this issue Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Adding functionality that adds value
Projects
None yet
Development

No branches or pull requests

1 participant