From VGInterface Wiki
Authors: Parmon
Return to Advanced Commands
Sometimes instead of using multiple TextFields anchored to eachother you want to just add a % after some text.
Vanguard provides a couple tags for formatting text inside of a textfields <Text> element.
Main Formatters
- Adds the contents of a game variable
- <color=somecolor>text</color>
- Colors the containing text
- New Line
- Changes the size of containing text
- Indents the contained text a certain number of pixels
- Inserts an image into the text. mainly used for bullets
- Examples being VgrdBulletWhite, VgrdBulletGreen, VgrdBulletRed
- Contents will only be visible only if the var returns a non false value
- Highlights the contained to a lighter version of the current color defined.
Less Common
- Makes a name meant for click to tell
- <item=0:0::0,0,0,></link>
- Used with linking items in chat
When using all < and > must be replaced by < and >
Examples
<Text><gamevar=StatusHitpointsSelf.Percent> %</Text>
This would display your current health percent. 100 % . Next
<Text><gamevar=StatusHitpointsSelf.Percent> <color=yellow>%</color></Text>
Will display the same thing but the % sign is colored yellow.
Return to Advanced Commands