PDA

View Full Version : Additive descriptions in numbercontrols?



cantrels
May 14th, 2006, 14:12
Is there a way to combine the field name plus some additional text in the description of a numbercontrol?

For example:

<numbercontrol name="weapon1dmgmod">
<bounds rect="400,556,34,23" />
<displaysign />
<noreset />
<hideonvalue value="0" />
<description field="weapon1" />
<tabtarget next="weapon1critical" prev="weapon1damage" />
</numbercontrol>

I know that will display as a description the contents of the first weapon field. But is it possible to have a text string be displayed along with the field contents, meaning to append a string to the end of the field contents?

Tokuriku
March 20th, 2007, 12:22
I'd like to know the answer to that too!

joshuha
March 20th, 2007, 15:49
I don't think there is a way to do this in the current version of FG. In 2.0 there would be but I remember trying to do this in 1.05 and trying various methods with no luck.

Tokuriku
March 21st, 2007, 01:55
How about multiple string descriptions one after another?
Can FG handle that?

joshuha
March 21st, 2007, 02:32
You could do this but have to define a bounding box for the value. Unless its the same each time there is going to be an uneven gap but it might suffice depending on the situation.

Oberoten
March 21st, 2007, 08:06
Now this sounds QUITE interesting... Could you give an example?