FGameplayAbilityTargetingLocationInfo::MakeTargetDataHandleFromActors

Initializes new actor list target data, and sets this as the origin

Choose your operating system:

Windows

macOS

Linux

References

Module

GameplayAbilities

Header

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/GameplayAbilityTargetTypes.h

Include

#include "Abilities/GameplayAbilityTargetTypes.h"

Source

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

Syntax

FGameplayAbilityTargetDataHandle MakeTargetDataHandleFromActors
(
    const TArray< TWeakObjectPtr< AActor >> & TargetActors,
    bool OneActorPerHandle
) const

Remarks

Initializes new actor list target data, and sets this as the origin