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

Macro to make "permanent" walls from DD's created walls? #74

Open
mcglincy opened this issue Jan 10, 2022 · 0 comments
Open

Macro to make "permanent" walls from DD's created walls? #74

mcglincy opened this issue Jan 10, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@mcglincy
Copy link
Owner

i.e., remove the dungeon-draw / dungeonVersion flag.

Could be based on this:

const wallIdsToDelete = () => {
  const walls = canvas.scene.getEmbeddedCollection("Wall");
  const ids = [];
  for (const wall of walls) {
    const flag = wall.getFlag(constants.MODULE_NAME, "dungeonVersion");
    if (flag) {
      ids.push(wall.id);
    }
  }
  return ids;
};
@mcglincy mcglincy added the enhancement New feature or request label Jan 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant