Get Gameplay Effect Count

Get Gameplay Effect Count

Windows
MacOS
Linux

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 Count
Target
Source Gameplay Effect
Select Class
Optional Instigator Filter Component
Enforce on Going Check
Return Value
0

Inputs

Target
Ability System Component Object Reference
Source Gameplay Effect
Gameplay Effect Class Reference

Effect to get the count of

Optional Instigator Filter Component
Ability System Component Object Reference

If specified, only count effects applied by this ability system component

Enforce on Going Check
Boolean

Outputs

Return Value
Integer

Count of the specified source effect

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback