<aside> ⚠️

If you don’t know this system, I highly recommend you to read some Epic Games documentation or watch some Youtube videos, they will help you to understand better what’s going on.

My recommendations ↓

Epic Games Docs: https://dev.epicgames.com/documentation/unreal-engine/gameplay-ability-system-for-unreal-engine

Useful Youtube Series: https://www.youtube.com/watch?v=1QgGyndH_u4

</aside>

The Character uses the Gameplay Ability System (GAS) to perform actions like jump, run, aim, shoot, but also handle health and damage.

Simple actions are treated as Gameplay Abilities.

image.png

Then, we have Gameplay Effects that handles damage of the weapon and other eventual buff/debuff.

image.png

Gameplay Effects can also execute a list Gameplay Cue, that are used to do additional stuff when the effect is applied to the target.

They are useful to play some VFX/SFX and so on…

Open Tools → GameplayCue Editor to see the current used cues.

image.png

In the end, Gameplay Attributes handle the health of the character, defined in the class UAstHealthSet.

Debug

During PIE, you can execute the command ShowDebug AbilitySystem to display useful information about the GAS.

image.png