tranek / GASDocumentation

My understanding of Unreal Engine 5's GameplayAbilitySystem plugin with a simple multiplayer sample project.
MIT License
4.26k stars 789 forks source link

Question: Loose gameplay tag vs gameplay effect #136

Closed reisandbeans closed 3 days ago

reisandbeans commented 3 months ago

Currently I've been using two different ways to add tags to an actor that uses the AbilitySystemComponent:

Is there a recommended way? Are there any advantages of using one option over the other?

reisandbeans commented 3 days ago

I ended up having some replication issues with AddReplicatedLooseGameplayTags. Not sure why it didn't work quite as I expected, so I opted by using GameplayEffects that seem to have a more robust replication system. Also, having it wrapped in an effect made it more flexible in case in the future I also want to add other modifiers associated with the same effect (and not only adding the tag)