Overview

Blueprint Name: W_PlayerHud

The W_PlayerHud Blueprint is a User Interface widget designed to visually represent the player's health and radiation status in the game. It manages and updates progress bars corresponding to the player's health, character radiation levels, and environmental radiation levels. The Blueprint ensures smooth interpolation of radiation values to provide a visually appealing and responsive HUD experience.


Variables

Variable Name Type Purpose
HealthComp Object Holds a reference to the player's health component, used to retrieve current health data.
RadComp Object Holds a reference to the player's radiation component, used to retrieve radiation data.
CurrentRawCharRadVal Float Stores the raw (uninterpolated) character radiation value mapped to a normalized range.
CurrentInterpCharRadVal Float Stores the interpolated character radiation value for smooth HUD updates.
RadInterpTimer TimerHandle Intended to manage timing for character radiation interpolation updates.
EnvRadInterpTimer TimerHandle Intended to manage timing for environmental radiation interpolation updates.
CurrentRawEnvRadVal Float Stores the raw (uninterpolated) environmental radiation value mapped to a normalized range.
CurrentInterpEnvRadVal Float Stores the interpolated environmental radiation value for smooth HUD updates.

Event Graph

Event: Construct


Functions

1. UpdateHealthVal