How to change an icon dynamically in a custom HUD widget in UEFN?

Use case: Show a HUD UI widget that has an image/icon that changes based on Player’s progress (Player’s “Level/Rank”) in my island.

How to do that? So far I’ve been using HUD Message Devices to show HUD messages using custom UI widgets. When creating a widget, I can add an Image to the Canvas and in Editor select the image to show in that editor. But how to make the widget more usable by selecting the shown image “run-time” in Verse?

In Verse, in can use hud_message_device.SetText() to dynamically control the shown text, but haven’t figured out how control the icon dynamically instead of “hard-coding” which image to show in the widget.

That’s a great question, and I’m actually exploring this myself. This isn’t an ideal solution but one thing you might do is something like this tutorial shows:

You’d only need to make two changes.

First, instead of using a sphere, you would use a plane to project the image.
And two, instead of using a “material” you would use a 512 x 512 image and project that. That way you could dynamically change images in the game.

Thank you! I think this is the way an will definitely try it :slight_smile: