Sunday, August 26, 2018

[pcgen] CampaignHistory in outputsheet

 

My first post got eaten it looks like.

Anyway, trying to output campaign history to html.

I can manually do so by putting the individual entires in like:

${pcstring('CAMPAIGNHISTORY.VISIBLE.0.TEXT')}

...all fine and good.

However, the problem occurs if I want to create a loop using the count of campaign history entires.  Looks like it would work in a .LST file (http://pcgen.org/autobuilds/pcgen-docs/listfilepages/globalfilestagpages/globalfilesformulas.html#count), but the count token doesn't seem to work for outputsheets.  I tried the following:

pcvar('COUNT[CAMPAIGNHISTORY.VISIBLE]')
pcvar('COUNT[CAMPAIGNHISTORY]')

and
 
pcvar('COUNT[CLASSES]')
...as a "control" 

The last one (count of claseses) works, the other two always return zero.  That means I can't use them to create a loop to output all of my campaign history entries.


FYI, running 6.0.6

Thanks.

__._,_.___

Posted by: sidious@swbell.net
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.

PCGen's Mailing Lists and Links: http://wiki.pcgen.org/Mailing_Lists_and_PCGen_Links

SPONSORED LINKS
.

__,_._,___

No comments:

Post a Comment