KayelGee / token-attacher

MIT License
11 stars 18 forks source link

Suggestion: Hide all Elements when the base token is hidden #48

Open Volksters opened 3 years ago

Volksters commented 3 years ago

I have a few mounts/vehicle types stuff, would it be possible to make them all hidden when the control token is also hidden or something similar?

KayelGee commented 3 years ago

Basically yes but it's more complicated. I think I'll add a macro to do that for now in the next update.

The reason being tokens/tiles/drawings can be hidden and lights/sounds can be muted but templates/walls/journal notes would need more complex behaviour. Also content creators might add stuff to prefabs that are hidden by default and these shouldn't be unhidden when the base token becomes unhidden so even there I would need to add special logic.

I'll leave this open because I might add that as the default behaviour in the future once I've figured all the logic out.

KayelGee commented 3 years ago

Example macros in the next update that should help for the time being: "Toggle hidden base+children" "Propagate base hidden state to children"