HudBarSetTextTrait

From GECK
Jump to: navigation, search
This article is incomplete. You can help by filling in any blank descriptions.
Further information might be found in a section of the discussion page. Please remove this message when no longer necessary.



A function added by the SUP NVSE Plugin.

Description

Sets specified text trait.

Syntax

[help]
(success:int) HudBarSetTextTrait barName:string iElement:int iTrait:int fValue:float 

Or:

(success:int) HudBarSetTextTrait barName:string iElement:int iTrait:int fValue:float

Example

HudBarSetTextTrait "Name"  0 0 5

Will set text font to 5

Elements

0 - Text;

Traits

0 - Font;
1 - Justify;

Values for justfiy

0 - Justify unused;
1 - Justify Right;
2 - Justify Center
3 - Justify left;



Notes

See Also