Hi J,
I tried this and it works perfectly as you would like it to.
The labels are blank because you have set the text to blank in your prototype!
Try changing the text in the text label in your prototype to 'Attack =
$attack$' or just $attack$ to display the attack value.
You should not bet setting te property value of the label as 'attack'. What
this does is causes the final generated text of the label trait to be available
as property called 'atack'. This will interfere with your attack property set
inthe marker.
Also, if you have a number of markers, consider setting the values in a
Property Sheet, rather than using Markers. The value of properties set in a
Property sheet are now available as $property$ as if they had been set using
Marker traits.
Regards,
Brent.
*********** REPLY SEPARATOR ***********
On 1/12/2005 at 11:31 AM Porter235 wrote:
Here is my situation.
I have a wack of pieces and I want to show their stats on them. I thought
using markers would be good so that later on I could programmaticaly do stuff
with them if I wanted to, or I could change the look of the pieces without
having to recreate a lot of work. I also know that using prototypes is the
way to go.. so here it is...
prototype
text label->
text is blank
property value is attack
fancy positioning to place it where I want
individual piece
marker ->
attack = 2
My hope was that the 2 would show up in the fancy positioned location and then
I could later change the fancy positioning and all attack values would move
where they should, or that I could change the attack value programtically
later.
Problem. no mater where in the stack I place my prototype definition, the
labels remain blank. I have tried this with ? in the prototype and they
remain as ?. Is what I want possible? if not what are the chances it could be
made so? Thanks.
JCD
YAHOO! GROUPS LINKS
Visit your group "vassalengine" on the web.
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
____________________________________________________________
Brent Easton
Analyst/Programmer
University of Western Sydney
Email: [EMAIL PROTECTED]
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/IMSolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/vassalengine/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/