Aedif / TokenVariants

GNU General Public License v3.0
17 stars 12 forks source link

comprehensive list of expressions needed #147

Open gilmirmo opened 6 months ago

gilmirmo commented 6 months ago

I'm trying to specifically do the "opposite" of token-variant-combat and have the token change when character is NOT in combat. This way one can use the combat button as an easy toggle. It's not very clear though how I could phrase that as an expression.

A full list of all possible expressions would be amazing! Maybe there already is one that I'm missing?

As to my specific use case, it would be nice to have the ability to set of alternative token images that would show up at the top of the list next to the one already set, regardless of search. that way one can switch quickly mid action.

Aedif commented 6 months ago

The number of possible expressions is infinite because you can use logical operators such as

Include token properties, equipment names, active ffects, etc.

If you hover over the question mark next to expressions header you'll see examples.

If you want opposite of token-variants-combat do:

This means NOT combat.

gilmirmo commented 6 months ago

that much I understand, but that alone doesn't do it. This way the token switches, when not in combat, but doesn't switch back when in combat. specifically, I'd like to use it for disguising npcs. A way to cloak/uncloak someone

Aedif commented 6 months ago

Uhmm, one mapping should be enough. If you have a combat mapping (token-variants-combat) the module will switch to that image assigned there, and once you leave combat the mobule will revert the image back to whatever it was before combat started.