Thursday, February 4, 2016

[pcgen] Freemarker troubleshooting preview

 

Hi All,
i'm working on a Freemarker version of the troubleshoooting preview sheet but i'm facing something i can't understand.
my problem is to display the templates added to the character that has VISIBLE:NO.
if i count templates they aren't counted (pcvar("COUNT[TEMPLATES]") > 0 fail)  and also they don't appear in the pcstring('TEMPLATELIST') but i know they are applied (the ability that apply them is displayed correctly, also the effects.
obviously if i change the VISIBLE:NO to VISIBLE:YES they appear.

that is my snippet of simple code:

<@loop from=0 to=pcvar('COUNT[TEMPLATES]-1') ; template , template_has_next>
<tr>
<td >
${pcstring('TEMPLATE.${template}.NAME')}
</td>
</tr>
</@loop>


thanks for any help.

Regards,


__._,_.___

Posted by: iainuki@yahoo.com
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)
PCGen&#39;s Mailing Lists and Links: http://wiki.pcgen.org/Mailing_Lists_and_PCGen_Links

.

__,_._,___

No comments:

Post a Comment