HudBarSetSystemColor
From GECK
A function added by the SUP NVSE Plugin.
Contents
Description
Sets the system color to specified HUD Bar element.
Syntax
(success:int) HudBarSetSystemColor barName:string iElement:int SystemColor:float
Or:
(success:int) HBSetSystemColor barName:string iElement:int SystemColor:float
Example
HudBarSetSystemColor "BarName" 0 1
Will set Meter color to Default UI color.
HudBarSetSystemColor "BarName" 0 0
Will set Meter color to &NoSystemColor(0) which will allows UI element to get it's color from RGB trait which can be set via HudBarSetColor
HudBarSetSystemColor "BarName" 0 2
Will set Meter color to "Crime" color which, for instance is used on crosshair prompy when you hover over item which is not owned by PC.
Elements
0 - Meter; 1 - Frame; 2 - Text; 3 - ImageEx;