tdwyer11b
March 22nd, 2006, 08:38
is it possible in numbercontrol to output text for a value for instance if an ability is 1 it outputs "nil" on the character sheet?
tdwyer11b
March 24th, 2006, 07:07
is it possible with another string of code?
Bumamgar
March 25th, 2006, 13:50
If you don't mind having two controls, you can do this via the same methods used to display modifiers for attributes. ie: you can have the value of one control dependant on the value of another control.
For example, I believe this will work:
<numbercontrol name="maincontrol">
<bounds rect="49,136,30,18" />
</numbercontrol>
<stringcontrol name="dependanttext">
<value type="modifier" />
<bounds rect="84,136,30,18" />
<source name="maincontrol" valuemap="0:nil,1:one,2:two,3:three,4:four,5:five" />
</stringcontrol>
I haven't tested this, so it might not work.
tdwyer11b
March 26th, 2006, 06:40
I'll try it and let you know.
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.