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

Public Member Functions

Functions
USceneComponent GetAccurateTargetComponentOnCurrentTarget_Scriptable (USceneComponent TargetComponent)
bool CheckCharacterVisualInterruption_Scriptable (const USceneComponent Target, AActor AvatarActor) const
bool CheckVisibility (const USceneComponent Target, AActor AvatarActor) const
bool CheckVisibility_Scriptable (const USceneComponent Target, AActor AvatarActor) const
void FilterTargetByRelationship_Scriptable (AGothicCharacter OwnerCharacter, TArray< USceneComponent > &Targets)
bool CheckCharacterVisualInterruption (const USceneComponent Target, AActor AvatarActor) const
 Used for updateTarget Task. The character must see the target and avoid interruptions from other pawns.
TSubclassOf< AActor > GetTargetFilterClass () const
bool IsValidTarget (const USceneComponent Comp, AActor AvatarActor) const
bool IsValidTarget_Scriptable (const USceneComponent Comp, AActor AvatarActor) const
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 UGothicBaseConfig
static UClass StaticClass ()
Static Public Member Functions inherited from UObject
static UClass StaticClass ()

Public Attributes

TargetConfigBase
bool m_ShouldFindTargetOnTargetDefeated
float32 m_DetectionRadiusPlayer
float32 m_DetectionRadiusAI
float32 m_TargetCheckVisibilityRate
float32 m_TargetLostTimeout
bool m_ShouldFindTargetOnVisualLost
TSubclassOf< AActor > m_TargetFilterClass
bool m_ShouldFindTargetOnTargetDie
bool m_ShouldFindTargetOnTargetCantBeTargeted
bool m_ShouldAimToTargetHeadOrChest
bool m_ShouldFilterTargetByRelationship
Variables
const TSubclassOf< AActor > TargetFilterClass
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

Member Function Documentation

◆ CheckCharacterVisualInterruption()

bool CheckCharacterVisualInterruption ( const USceneComponent Target,
AActor AvatarActor ) const

Used for updateTarget Task. The character must see the target and avoid interruptions from other pawns.

◆ CheckCharacterVisualInterruption_Scriptable()

bool CheckCharacterVisualInterruption_Scriptable ( const USceneComponent Target,
AActor AvatarActor ) const

◆ CheckVisibility()

bool CheckVisibility ( const USceneComponent Target,
AActor AvatarActor ) const

◆ CheckVisibility_Scriptable()

bool CheckVisibility_Scriptable ( const USceneComponent Target,
AActor AvatarActor ) const

◆ FilterTargetByRelationship_Scriptable()

void FilterTargetByRelationship_Scriptable ( AGothicCharacter OwnerCharacter,
TArray< USceneComponent > & Targets )

◆ GetAccurateTargetComponentOnCurrentTarget_Scriptable()

USceneComponent GetAccurateTargetComponentOnCurrentTarget_Scriptable ( USceneComponent TargetComponent)

◆ GetTargetFilterClass()

TSubclassOf< AActor > GetTargetFilterClass ( ) const

◆ IsValidTarget()

bool IsValidTarget ( const USceneComponent Comp,
AActor AvatarActor ) const

◆ IsValidTarget_Scriptable()

bool IsValidTarget_Scriptable ( const USceneComponent Comp,
AActor AvatarActor ) const

◆ StaticClass()

UClass StaticClass ( )
static

Member Data Documentation

◆ m_DetectionRadiusAI

float32 m_DetectionRadiusAI

◆ m_DetectionRadiusPlayer

float32 m_DetectionRadiusPlayer

◆ m_ShouldAimToTargetHeadOrChest

bool m_ShouldAimToTargetHeadOrChest

◆ m_ShouldFilterTargetByRelationship

bool m_ShouldFilterTargetByRelationship

◆ m_ShouldFindTargetOnTargetCantBeTargeted

bool m_ShouldFindTargetOnTargetCantBeTargeted

◆ m_ShouldFindTargetOnTargetDefeated

bool m_ShouldFindTargetOnTargetDefeated

◆ m_ShouldFindTargetOnTargetDie

bool m_ShouldFindTargetOnTargetDie

◆ m_ShouldFindTargetOnVisualLost

bool m_ShouldFindTargetOnVisualLost

◆ m_TargetCheckVisibilityRate

float32 m_TargetCheckVisibilityRate

◆ m_TargetFilterClass

TSubclassOf<AActor> m_TargetFilterClass

◆ m_TargetLostTimeout

float32 m_TargetLostTimeout

◆ TargetFilterClass

const TSubclassOf<AActor> TargetFilterClass