Basic cross hair hud. Reacts to state of control object. Also displays health bar for named objects under the cross hair.
- Inherit:
GuiBitmapCtrl
Basic cross hair hud. Reacts to state of control object. Also displays health bar for named objects under the cross hair.
Uses the base bitmap control to render a bitmap, and decides whether to draw or not depending on the current control object and it's state. If there is ShapeBase object under the cross hair and it's named, then a small health bar is displayed.
Example:
newGuiCrossHairHud(){
damageFillColor = "1.0 0.0 0.0 1.0"; // Fills with a solid red colordamageFrameColor = "1.0 1.0 1.0 1.0"; // Solid white frame colordamageRect = "15 5";
damageOffset = "0 -10";
};