Thank you. If I had properly read the description of the function I would have seen that.
rtfm correctly for me.
Printable View
Thank you. If I had properly read the description of the function I would have seen that.
rtfm correctly for me.
I have two templates in the same file.
Both are used on the character sheet multiple times.
For some reason one works and the other says it's not found. There are no errors when loading. just a warning that the template couldn't be found.
template xml
template usage codeCode:<template name="stat_set_button">
<buttoncontrol>
<allowdoubleclick />
<icon normal="icon_cog" pressed="icon_cog_down" />
<script file="campaign/scripts/stat_set_button.lua"/>
</buttoncontrol>
</template>
Anyone see what is wrong? May be I've just been looking at this stuff too much today. lolCode:<stat_set_button name="n1_set">
<anchored>
<left anchor="center" offset="-28" />
<right anchor="center" offset="-12" />
<top offset="0" anchor="top" parent="n1" relation="current" />
<size>
<height>16</height>
</size>
</anchored>
<textres>charsheet_main_n1_set_ButtonCaption</textres>
</stat_set_button>
Thanks,
Robert
Thanks for the help, both of you! It directed me where I needed to look.
Not sure what was going on with that template above, but it's now working.
Good to hear it's working. I couldn't figure out what was wrong :)