Display an Awareness Indicator
Add a meter above the guard from Tune Detection and Awareness. This example runs in single-player Play In Editor, where the widget can read the guard's AI Controller.
Build the widget
Create a Widget Blueprint derived from Ninja Bot Awareness Tracker Widget. In Designer, add a Progress Bar named AwarenessProgress and optionally a Text Block named AwarenessText.
In the widget's Viewmodels panel, add Bot Awareness ViewModel. Choose the Resolver creation type and Bot Resolver. Use the field notification bindings to send changes from the ViewModel to the widget.
Bind Get Progress to Aware State one way to the bar's Percent. Bind Awareness Level to the widget's Update Awareness Level function. The tracker uses that function to change its visibility, text and color.
In Class Defaults, choose visibility for each stage. The default hides the widget while Unaware. Compile and save.
Connect the guard and the viewing player
Add a Widget Component to the guard Blueprint. Set its Widget Class to your tracker, choose Screen space, and position it above the guard.
Once the guard has its AI Controller and the component has initialized its widget, get the component's User Widget Object and cast it to your tracker Blueprint. From that widget get its Bot Awareness ViewModel.
On that ViewModel call Set Component Owner with the guard's Get Controller result. The resolver uses the widget's owning player. For this single-player example, call Set Owning Player on the ViewModel with Get Player Controller (0) if the widget component has no owning player.
Try It in Play
Approach the guard and stay in view. The meter should appear at Suspicious, change as the level rises, and fill at Aware. Leave view. The meter follows the reading while you remain the selected target and resets when that target clears. If the tree shows rising awareness but the meter stays hidden, check the level binding and the two controllers passed to the ViewModel.