[GAS] Which is better try ability by tag or by class?

I’ve only been with GAS for a short time and I would like to know which one is better, or which one you usually use and why, try activate by tag or by class?

1 Like

Both are possible, I generally use by class. You may want to take a look at Action RPG template, available for free as sample project, there are a few examples there in BP Player Character.

1 Like

Mmm…By class, you can block abilities with tags?

1 Like

The blocking logic is stored inside the Gameplay Ability. From the example below, when the boss is charging towards player, it is possible to add a blocking tag to grant immunity to the ability owner during the charge execution. If the player executes an ability with certain blocked tag, there will be no effect during the boss’ charging.

1 Like

If you just starting to work with GAS, I highly recommend reading this doc

3 Likes

okay thanks

okay