UAbilityTask::IsLocallyControlled

Returns true if we are executing the ability on the locally controlled client

Windows
MacOS
Linux

References

Module

GameplayAbilities

Header

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/Tasks/AbilityTask.h

Include

#include "Abilities/Tasks/AbilityTask.h"

Source

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/Abilities/Tasks/AbilityTask.cpp

Syntax

bool IsLocallyControlled() const

Remarks

Returns true if we are executing the ability on the locally controlled client

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