Skip to main content
C. Assign Gameplay Effect in Ability
- To assign an ability, first you need to create an Effect Containers member, open GA_AttackSelf.

I've defined an effect container member with key Target.Self, because I want to group the effect based on who is the target, could be Self, Ally, or Enemy, but this is up to you again. And I add GE_Burn there. So when I do Attack, it will give Burn to our character (Suicide Ability XD).
- Then let's modify our blueprint to add a node.


We've just inserted Apply Gameplay Effect Container to Owner after print log and before end the ability. You can also do to the specific target by using the Apply Gameplay Effect Container to Target. This requires Has Authority checker because we just need to apply GE or damage in Server, client just replicate it.
You could see some example in AgateGASExample.
- When we play and pressed the ability, you should see our character Health is reducing at Output Log.
Listen for Gameplay Effect Stack Changed
- To see clearer about the burn stack, we can also create Listen for Gameplay Effect Stack Changed in any blueprint.
- For example, let's create some log in character, it should be more useful in UI I guess.

- After you play the editor, and execute the ability, it will show the burn stack that applied to your character.