Effect Context

Effect Context

Windows
MacOS
Linux

Actions

AddHitResult

Adds a hit result to the effect context

Target is Ability System Blueprint Library

GetEffectCauser

Gets the physical actor that caused the effect, possibly a projectile or weapon

Target is Ability System Blueprint Library

GetHitResult

Extracts a hit result from the effect context if it is set

Target is Ability System Blueprint Library

GetInstigatorActor

Gets the instigating actor (that holds the ability system component) of the EffectContext

Target is Ability System Blueprint Library

GetOrigin

Gets the location the effect originated from

Target is Ability System Blueprint Library

GetOriginalInstigatorActor

Gets the original instigator actor that started the chain of events to cause this effect

Target is Ability System Blueprint Library

GetSourceObject

Gets the source object of the effect.

Target is Ability System Blueprint Library

HasHitResult

Returns true if there is a valid hit result inside the effect context

Target is Ability System Blueprint Library

IsInstigatorLocallyControlled

Returns true if the ability system component that instigated this is locally controlled

Target is Ability System Blueprint Library

IsValid

Returns true if this context has ever been initialized

Target is Ability System Blueprint Library

SetOrigin

Sets the location the effect originated from

Target is Ability System Blueprint Library

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