Gameplay Effects

Gameplay Effects

Windows
MacOS
Linux
On this page

Actions

ApplyGameplayEffectSpecToSelf

Applies a previously created gameplay effect spec to this component

Target is Ability System Component

ApplyGameplayEffectSpecToTarget

Applies a previously created gameplay effect spec to a target

Target is Ability System Component

ApplyGameplayEffectToSelf

Apply a gameplay effect to self

Target is Ability System Component

ApplyGameplayEffectToTarget

Apply a gameplay effect to passed in target

Target is Ability System Component

Get Activate Gameplay Effects for Query

Returns list of active effects, for a query

Target is Ability System Component

Get Active Effects with All Tags

Returns list of active effects that have all of the passed in tags

Target is Ability System Component

Get Gameplay Effect Count

Get the count of the specified source effect on the ability system component. For non-stacking effects, this is the sum of all active instances. For stacking effects, this is the sum of all valid stack counts. If an instigator is specified, only effects from that instigator are counted.

Target is Ability System Component

Get Gameplay Effect Magnitude

Raw accessor to ask the magnitude of a gameplay effect, not necessarily always correct. How should outside code (UI, etc) ask things like 'how much is this gameplay effect modifying my damage by' (most likely we want to catch this on the backend - when damage is applied we can get a full dump/history of how the number got to where it is. But still we may need polling methods like below (how much would my damage be)

Target is Ability System Component

Make Effect Context

Create an EffectContext for the owner of this AbilitySystemComponent

Target is Ability System Component

Make Outgoing Spec

Get an outgoing GameplayEffectSpec that is ready to be applied to other things.

Target is Ability System Component

Remove Active Effects with Applied Tags

Removes all active effects that apply any of the tags in Tags

Target is Ability System Component

Remove Active Effects with Granted Tags

Removes all active effects that grant any of the tags in Tags

Target is Ability System Component

Remove Active Effects with Source Tags

Removes all active effects with captured source tags that contain any of the tags in Tags

Target is Ability System Component

Remove Active Effects with Tags

Removes all active effects that contain any of the tags in Tags

Target is Ability System Component

Remove Active Gameplay Effect

Removes GameplayEffect by Handle. StacksToRemove=-1 will remove all stacks.

Target is Ability System Component

Remove Active Gameplay Effect by Source Effect

Remove active gameplay effects whose backing definition are the specified gameplay effect class

Target is Ability System Component

Set Active Gameplay Effect Level

Updates the level of an already applied gameplay effect. The intention is that this is 'seemless' and doesnt behave like removing/reapplying

Target is Ability System Component

Set Active Gameplay Effect Level Using Query

Updates the level of an already applied gameplay effect. The intention is that this is 'seemless' and doesnt behave like removing/reapplying

Target is Ability System Component

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss