-
March 12th, 2008, 22:11 #1
- Join Date
- Jul 2006
- Posts
- 1
Buttons on Custom Character Sheets
I am try to figure out how to add a simple on/off button on a custom character sheet (that is recorded when the character sheet is closed). I've been using the generic character sheet created by Toadwart as a starting point.
I'm a novice at XML, so after tinker around with some pieces of code from other rulesets and getting nowehere, I thought I'd ask the collective wisdom of the FG community.
Any help would be appreciated.
-
March 13th, 2008, 18:12 #2
- Join Date
- Aug 2007
- Location
- Vancouver, BC, Canada
- Posts
- 15
For the world of darkness one I am working on I just copied the checkbox template in common_templates.xml and the template_checkbox.lua script and made modifications to do the circles. Here is the template I did:
Code:<template name="checkcircle"> <genericcontrol> <stateicons> <on>indicator_circleon</on> <off>indicator_circleoff</off> </stateicons> <script file="scripts/template_checkcircle.lua" /> </genericcontrol> </template>
Code:<icon name="indicator_circleon" file="icons/indicator_circleon.png" /> <icon name="indicator_circleoff" file="icons/indicator_circleoff.png" />
If you have any questions about this throw it in here. I am sure someone can help.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks