G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
USimpleTargetingSelectionTask Class Reference

@class USimpleTargetingSelectionTask More...

Public Member Functions

Targeting
bool AddTargetActor (FTargetingRequestHandle TargetingHandle, AActor Actor) const
 Adds a single Actor to the Targeting Results for a given TargetingRequestHandle. Returns false when the Actor was already in the list.
bool AddHitResult (FTargetingRequestHandle TargetingHandle, FHitResult HitResult) const
 Adds a HitResult to the Targeting Results for a given TargetingRequestHandle. Returns False when the Actor that was hit was already in the list.
Functions
void SelectTargets (FTargetingRequestHandle TargetingHandle, FTargetingSourceContext SourceContext) const
Public Member Functions inherited from UTargetingTask
UTargetingSubsystem GetTargetingSubsystem (FTargetingRequestHandle TargetingHandle) const
 Helper method to get the Targeting Subsystem in TargetingTask Blueprint Types.
Public Member Functions inherited from UObject
bool MarkPackageDirty () const
void RemoveFromRoot ()
bool GetIsRooted () const
bool IsTransient () const
bool Modify (bool bAlwaysMarkDirty=true)
void SetTransactional (bool bTransactional)
bool IsSupportedForNetworking () const
UClass GetClass () const
UObject GetOuter () const
UObject GetTypedOuter (TSubclassOf< UObject > Target) const
 Traverses the outer chain searching for the next object of a certain type.
UPackage GetOutermost () const
UPackage GetPackage () const
void AddToRoot ()
UWorld GetWorld () const
FName GetName () const
FString GetFullName (const UObject StopOuter=nullptr) const
FString GetPathName (const UObject StopOuter=nullptr) const
bool IsA (const UClass Class) const
 Returns true if this object is of the specified type, or a child of that type.
void SaveConfig ()
void LoadConfig ()
void ReloadConfig ()
void CopyScriptPropertiesFrom (const UObject OtherObject)
void opCast (?&Address) const
FString ToString () const

Static Public Member Functions

Static Functions
static UClass StaticClass ()
Static Public Member Functions inherited from UTargetingTask
static UClass StaticClass ()
Static Public Member Functions inherited from UObject
static UClass StaticClass ()

Additional Inherited Members

Public Attributes inherited from UObject
const UClass Class
const UObject Outer
const UPackage Outermost
const UPackage Package
const UWorld World
const FName Name
const bool IsRooted

Detailed Description

@class USimpleTargetingSelectionTask

This is a blueprintable TargetingTask class made for adding new Targets to the results list. Override the SelectTargets function and call AddTargetHitResult or AddTargetActor to select new targets.

Member Function Documentation

◆ AddHitResult()

bool AddHitResult ( FTargetingRequestHandle TargetingHandle,
FHitResult HitResult ) const

Adds a HitResult to the Targeting Results for a given TargetingRequestHandle. Returns False when the Actor that was hit was already in the list.

◆ AddTargetActor()

bool AddTargetActor ( FTargetingRequestHandle TargetingHandle,
AActor Actor ) const

Adds a single Actor to the Targeting Results for a given TargetingRequestHandle. Returns false when the Actor was already in the list.

NOTE: If you have a HitResult associated with this selection, please use AddHitResult instead.

◆ SelectTargets()

void SelectTargets ( FTargetingRequestHandle TargetingHandle,
FTargetingSourceContext SourceContext ) const

◆ StaticClass()

UClass StaticClass ( )
static