-
February 17th, 2006, 18:31 #1
- Join Date
- Feb 2006
- Posts
- 19
Two questions: # control & pre-filling text
Hello again! I am very close to completing my character sheet, but I ran into a couple of questions that I couldn't quite figure out by looking through examples. I am new to xml, but I have some limited HTML experience.
First question regards numbercontrol. I was finishing up my character sheet last night, and tried to implement it as written below
Code:<numbercontrol name="WS"> <bounds rect="144,682,34,23" /> <nodrag /> <nodrop /> <noreset /> <description text="WeaponSkill" /> <limits minimum="01" maximum="99" /> <tabtarget next="BS" prev="cur_exp" /> </numbercontrol>
What on earth am I missing?
Second question: Is it possible (and if so, how) to grab a string (from stringcontrol for example) and have that info pre-fill a space?
Here's an example of what I am trying to do: I fill in an NPC name ("npc_name") on their main sheet, and then when I open their mini sheet, I want a designated section of that mini-sheet to display that NPCs name.
Thanks in advance for your help!
-
February 18th, 2006, 03:10 #2
- Join Date
- Feb 2006
- Posts
- 19
Okay - belay my last question; after a bit more poking I figured it out. It just wasn't evident.
Still running into problems with the numbercontrol stuff... if someone could point me in the right direction I'd appreciate it!
Thanks!
-
February 18th, 2006, 05:34 #3
- Join Date
- Jan 2006
- Posts
- 22
The snippet of XML code looks correct (I even went as far as copying it into a ruleset and trying it.) I think we need alittle more information.
Can we see the XML for the rest of the sheet?
Did you just add this number control and tried testing it with an existing character?
Did the number control use to be a string control that you changed to a number control and tried testing with an existing character (I did this on my self and it did cause FG to crash.)
-
February 18th, 2006, 06:31 #4
- Join Date
- Feb 2006
- Posts
- 19
Did the number control use to be a string control that you changed to a number control and tried testing with an existing character (I did this on my self and it did cause FG to crash.)
Thanks a million! I couldn't for the life of me figure out what the deal was - but that is it! Thanks!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks