Location: SGAS\\UI

Main\\W_MainHud

This is a placeholder. It’s meant to represent your HUD.

You are more than welcome to use this as your HUD, or you can use your own.

There is no code in this blueprint, only a child W_AbilityBar which is anchored to the bottom left of the screen.

If you are to create your own HUD, make sure that you add the W_AbilityBar widget into your HUD, and set the Is Variable to True.

<aside> ⚠️ Do not change the name of the ability bar variable, as this may cause problems with existing functions. The variable name should be the name of the widget as is.

</aside>


AbilityWidgets\\W_AbilityBar

This is used to host the ability slots.

It uses a Wrap Box to dynamically scale according to the maximum amount of abilities the player character has.

This blueprint contains 2 custom events and uses 1 Built In event.

Untitled

Name: Setup Empty Ability Slots
Purpose: Adds the `W_AbilitySlotEmpty` child widget to the Wrap Box
How it works: After usable abilities are added, it calculates the remaining amount
of abilities left unassigned based on the maximum amount of abilities the player has
been assigned and spawns empty ability slots.

Untitled