I’m not sure how to explain my question but in essence, I would like to add a counter (for counting 1-9) to the main map but inside an image I already have. Think of a score board with two empty squares in it, and in those squares you want to be able to increase/decrease the numbers inside them.
Use a text label that follows a numeric Dynamic Property valued 1 thru 9 with
default of 1 on your counter image
From: Extralean grahamj@nb.sympatico.ca
To: messages@vassalengine.org
Sent: Tue, April 26, 2011 3:07:07 PM
Subject: [messages] [Module Design] Counter for Counting
I’m not sure how to explain my question but in essence, I would like to
add a counter (for counting 1-9) to the main map but inside an image I
already have. Think of a score board with two empty squares in it, and
in those squares you want to be able to increase/decrease the numbers
inside them.
Read this topic online here:
https://forum.vassalengine.org/t/counter-for-counting/3882/1
Ok, I managed to use Text Label and placed 0 in one box and 0 in another box. I used Dynamic Property and set the default to 0 and tried 00 but when it asks me if I want to change the score nothing happens. Did I miss a step somewhere?
You have not linked the text label to the DP.
In the Dynamic Name field put: Score
In the Text label Text field put: $Score$
-----Original Message-----
From: messages-bounces@vassalengine.org
[mailto:messages-bounces@vassalengine.org] On Behalf Of Extralean
Sent: Tuesday, April 26, 2011 3:40 PM
To: messages@vassalengine.org
Subject: [messages] [Module Design] Re: Counter for Counting
Ok, I managed to use Text Label and placed 0 in one box and 0 in another
box. I used Dynamic Property and set the default to 0 and tried 00 but
when it asks me if I want to change the score nothing happens. Did I
miss a step somewhere?
Read this topic online here:
https://forum.vassalengine.org/t/counter-for-counting/3882/3
So far I haven’t been able to change the score. This is what I have at the moment.
Text Label
Text: 0
Name Format: $Label$
Font: Dialog
Property Name: $Score$
DP
Name: Score
Value: 0
Numeric: Yes
Min: 0
Max: 99
Wrap: Yes
Key Commands: Menu: Change Score CTRLV
Send me a link to mod - quicker to fix
-----Original Message-----
From: messages-bounces@vassalengine.org
[mailto:messages-bounces@vassalengine.org] On Behalf Of Extralean
Sent: Tuesday, April 26, 2011 5:56 PM
To: messages@vassalengine.org
Subject: [messages] [Module Design] Re: Counter for Counting
So far I haven’t been able to change the score. This is what I have at
the moment.
Text Label
Text: 0
Name Format: $Label$
Font: Dialog
Property Name: $Score$
DP
Name: Score
Value: 0
Numeric: Yes
Min: 0
Max: 99
Wrap: Yes
Key Commands: Menu: Change Score CTRLV
Read this topic online here:
https://forum.vassalengine.org/t/counter-for-counting/3882/5