Lyra Ability Bar Widgets

Anyone here messed with adding ability widgets to Lyra? I’ve done a lot of ground work but I’m not sure if there’s a better way. Lyra’s method involved using onpawninitialized but you have to give the ability in the character data asset. You can use onabilitygiven, but it seems the onabilityremoved is called only when you stop the game. Currently I’ve been implementing an ability bar using widgets comprised of LyraWidgetTaggable(forget the exact name). This allows you to hide widgets if a tag is present. I’m not sure the best way to use a tag to add when a weapon is not in the inventory though. Best guess is add a GE in the AbilitySet that removes a tag when the set is granted. There has to be a better solution.
Ideally I’d like to be able to display current granted abilities from an abilityset for each weapon in the inventory. And add/remove or hide/unhide when the weapon is swapped out.

1 Like