My previous post concerned using a global key command to change the layer of counters that had ‘Fired’.
Is it possible to use the Global Key Command to change a Text Label on counters?
The counters contain a Text Label called ‘Endurance’. The actual text is a numeric value that starts at 30. I would like to be able to click a button in the toolbar that changes the text value by decrementing the numeric value by 1.
E.g. The text starts with a numeric value of 30 and when the global key command is activated (at the end of a turn) the text value changes to 29?
It may well be that the solution is the same as in my previous thread and that the answer is to use layers but 30 layers per counter is impractical.
Use a numeric dynamic property trait. call it EnduranceValue. Set max value to
30 and min value to 0. Set start value at 30
In the DP add a key command Ctrl E that decreases the value by -1
In the text label put $EnduranceValue$
Adda a marker trait : name it Endurance and set value to true
Again add the Toolbar GKC.
This time you want the Key command Ctrl E and the Property match expression
Endurance = true
My previous post concerned using a global key command to change the
layer of counters that had ‘Fired’.
Is it possible to use the Global Key Command to change a Text Label on
counters?
The counters contain a Text Label called ‘Endurance’. The actual text is
a numeric value that starts at 30. I would like to be able to click a
button in the toolbar that changes the text value by decrementing the
numeric value by 1.
E.g. The text starts with a numeric value of 30 and when the global key
command is activated (at the end of a turn) the text value changes to
29?
It may well be that the solution is the same as in my previous thread
and that the answer is to use layers but 30 layers per counter is
impractical.
I have tried various combinations but cannot get the GKC to change the text-label although the option to change the text-label is still available if I right-click the counter and manually change the text-label value.
I have listed below all the settings of the various components concerned. If a setting isn’t listed then it as at the default setting or is just formatting.
It has been necessary to increment by -1 since there is no option to decrement a value. However, I have tried increment as 1 with no effect.
Dynamic Property:
Name: EnduranceValue
Value: 30
Is Numeric: Checked
Minimum Value: 0
Maximum Value: 30
Menu Command: Change Value
Key Command: CTRL E
Type: increment numeric value
Incremented by: -1
Global Key Command:
Description: Endurance
Key Command: CTRL E
Matching Properties: Endurance = true
Within a Deck, apply to: no pieces
Button Text: Endurance
Suppress Individual Reports: Checked
Marker:
Property Name: Endurance
Property Value: true
Text Label Propertiers:
Text: $EnduranceValue$
Name Format: default
Menu Command: Change Endurance
Keyboard Command: CTRL E
Property Name: Endurance