Get Gameplay Effect Magnitude

Get Gameplay Effect Magnitude

Windows
MacOS
Linux

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

Get Gameplay Effect Magnitude
Target
Handle
Attribute
Return Value
0.0

Inputs

Target
Ability System Component Object Reference
Handle
Active Gameplay Effect Handle Structure
Attribute
Gameplay Attribute Structure

Outputs

Return Value
Float

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)

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