As stated in the title, the Verse API Show(Agent : agent) of the HUD Message Device does not work as expected. Instead, it behaves the same as the standard Show() method, displaying the HUD message to all agents.
Please select what you are reporting on:
Verse
What Type of Bug are you experiencing?
Devices
Steps to Reproduce
Used the Show(Agent : agent) method of the HUD Message Device to display a HUD.
In my case, I set it up to display the HUD to the agent who triggered it by using a Trigger Device.
Expected Result
The HUD message should display for the specified agent only.
Observed Result
The HUD message is displayed to all agents in the space.
Platform(s)
Windows 10
Additional Notes
It was possible to display messages to individual agents using a function with the following parameters, which include the Message type as an argument:
Heres a script I use in all my new projects to thank players and it seems to work perfectly… i only use the agent as an argument so maybe using multiple arguments in causing your script to bug out but thats just a guess.
I had a weird scenario where i was showing a Hud to an agent the Hud device was set correct and if that agent left the game it showed to another random agent in the game. Makes no sense to me everything was ok and i had to check the agent was IsActive which helped a little but also show a blank Hud.