Try Activate Ability by Class

Try Activate Ability by Class

Windows
MacOS
Linux

Attempts to activate the ability that is passed in. This will check costs and requirements before doing so. Returns true if it thinks it activated, but it may return false positives due to failure later in activation. If bAllowRemoteActivation is true, it will remotely activate local/server abilities, if false it will only try to locally activate the ability

Target is Ability System Component

Try Activate Ability by Class
Target
In Ability to Activate
Select Class
Allow Remote Activation
Return Value

Inputs

In
Exec
Target
Ability System Component Object Reference
In Ability to Activate
Gameplay Ability Class Reference
Allow Remote Activation
Boolean

Outputs

Out
Exec
Return Value
Boolean

Attempts to activate the ability that is passed in. This will check costs and requirements before doing so. Returns true if it thinks it activated, but it may return false positives due to failure later in activation. If bAllowRemoteActivation is true, it will remotely activate local/server abilities, if false it will only try to locally activate the ability

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