I want to automatically hide cards when placing on a special location. This works already works using a trigger action.
My next step is to add a global option to enable/disable this feature. This is done via a checkbox preference.
Then I changed the trigger property to:
{(Obscured == false) && (hiddenCards)}
and it stops working even if hiddenCards has been selected in the preferences.
What is the correct statement?
I want to automatically hide cards when placing on a special location.
This works already works using a trigger action.
My next step is to add a global option to enable/disable this feature.
This is done via a checkbox preference.
Then I changed the trigger property to:
Code:
{(Obscured == false) && (hiddenCards)}
and it stops working even if hiddenCards has been selected in the
preferences.
What is the correct statement?
Thanks for your reply.
I thought I’ve tested it, but seems like I made an error in the statement at that time.
Using
{(Obscured == false) && (hiddenCards == true)}
works.
Is there any documentation on the scripting language since some behaviour like the evaluation of boolean values is a little different to that what I’m used to be.