HUD integration (PulseAIHUDBridge)
The bridge PulseAIHUDBridge shows the awareness of agents on the Pulse HUD of PulseGameplay. Enable it next to PulseAI and PulseGameplay; the HUD layout needs a world marker layer (the default HUD has one).
Markers
A world marker above each agent (UPulseAIHUDSubsystem, one per local player):
| Agent | Marker |
|---|---|
| Suspicious | ”?” with a bar that fills towards Alert |
| Alert | ”!” |
| Combat | ”!” for a few seconds (CombatMarkerDuration) |
| Announces an attack on you | ”!!” for the telegraph time |
With bOnlyWhenTargetingLocalPlayer, “!” only shows for agents whose target is you (or that have no target). Colors are theme roles (Warning, Negative). The markers follow the replicated state of UPulseAIAgentComponent, so they work on clients. They update ten times a second only while one is shown.
Own widget
W_PulseAIAwarenessMarker (class UPulseAIAwarenessMarker) binds SymbolText and FillBar; derive your own widget from the class and set it in Project Settings > Pulse > AI > HUD > Marker Class. The data is in the marker’s CustomData (FPulseAIAwarenessMarkerData: level, progress, telegraph). The markers are entries of the marker registry of PulseFoundation with the kind Pulse.UI.Marker.AI.Awareness; without a marker class the Pulse HUD takes the widget of that kind from its style, else its default world marker, which shows the symbol as name.