-
May 24th, 2016, 02:43 #11
You can't use variables in the XML config - it's not code, it's just config that is used to create the controls. How about not setting default at all in the XML config? Then using onInit/onValueChanged events to set a value if the current value is 0/blank/cleared?
Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
May 24th, 2016, 03:20 #12
Unfortunately, 0 is a valid value for the field... if it returned to full every time it went to 0 it would be a problem... That does make for an interesting thought though.. what if I set it to a value that it 'couldn't' be.. something like -1000 or something. Hmm.. I'll try that.
Full License Operator - You must have a 'Lite' License to play in my games.
Member and GM in the Fantasy Grounds Pathfinder Society Group.
PFS Fantasy Grounds Forum
FG Community Teamspeak Server: ts.fg-con.com
Interested in Custom Character Portraits and Tokens? Contact me.
-
May 24th, 2016, 03:23 #13
Sweet. That totally worked.
Full License Operator - You must have a 'Lite' License to play in my games.
Member and GM in the Fantasy Grounds Pathfinder Society Group.
PFS Fantasy Grounds Forum
FG Community Teamspeak Server: ts.fg-con.com
Interested in Custom Character Portraits and Tokens? Contact me.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks