UAbilitySystemComponent::InitAbilityActorInfo

Initialized the Abilities' ActorInfo - the structure that holds information about who we are acting on and who controls us.

Windows
MacOS
Linux

References

Module

GameplayAbilities

Header

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/AbilitySystemComponent.h

Include

#include "AbilitySystemComponent.h"

Source

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/AbilitySystemComponent_Abilities.cpp

Syntax

virtual void InitAbilityActorInfo
(
    AActor * InOwnerActor,
    AActor * InAvatarActor
)

Remarks

Initialized the Abilities' ActorInfo - the structure that holds information about who we are acting on and who controls us. OwnerActor is the actor that logically owns this component. AvatarActor is what physical actor in the world we are acting on. Usually a Pawn but it could be a Tower, Building, Turret, etc, may be the same as Owner

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