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

Public Member Functions

Functions
FGameplayTag FindBestMatchingGuildHostilityTag (FGameplayTag Tag) const
 Given a guild tag, finds the best matching parent tag that has been configured here.
FGameplayTag FindBestMatchingGuildRankTag (FGameplayTag Tag) const
 Given a guild tag, finds the best matching parent tag that has been configured here.
FGameplayTag FindBestMatchingSpeciesFriendlinessTag (FGameplayTag Tag) const
 Given a species tag, finds the best matching parent tag that has been configured here.
FGameplayTag FindBestMatchingSpeciesHostilityTag (FGameplayTag Tag) const
 Given a species tag, finds the best matching parent tag that has been configured here.
FGameplayTag FindBestMatchingSpeciesRankTag (FGameplayTag Tag) const
 Given a species tag, finds the best matching parent tag that has been configured here.
bool IsApplicableForWorld (UWorld ThisWorld) const
 Can this modifier be applied to the given world? (e.g. is it in the correct chapter?).
FGameplayTag FindBestMatchingGuildFriendlinessTag (FGameplayTag Tag) const
 Given a guild tag, finds the best matching parent tag that has been configured here.
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 URelationshipModifier
static UClass StaticClass ()
Static Public Member Functions inherited from UObject
static UClass StaticClass ()

Public Attributes

StaticRelationshipModifier
TMap< FGameplayTag, ERelationship > FriendlinessTowardsSpecies
 How friendly are we to these species?
FGameplayTagContainer ForSpecies
 What kind of species this modifier should be applied to.
TMap< FGameplayTag, ERelationship > FriendlinessTowardsGuild
 How friendly are we to these guilds?
TMap< FGameplayTag, ERelationshipHostility > HostilityTowardsGuild
 How hostile are we to these guilds?
TMap< FGameplayTag, ERelationshipRelativeRank > RankOfGuild
 How is this guilds rank from our point of view?
FGameplayTagContainer ForGuild
 What kind of guilds this modifier should be applied to.
TMap< FGameplayTag, ERelationshipHostility > HostilityTowardsSpecies
 How hostile are we to these species?
TMap< FGameplayTag, ERelationshipRelativeRank > RankOfSpecies
 How is this species rank from our point of view?
TArray< FPursuedCrimeSetup > PursuedCrimes
 Crimes and the locations where they should be pursued.
TArray< FIgnoredCrimeSetup > IgnoredCrimes
 Crimes and the locations where they should be ignored.
float32 Weight
 Modifiers with higher weights will replace the relationship returned by other modifiers.
Public Attributes inherited from URelationshipModifier
bool bIsGlobalModifierClass
 If true, this modifier will be executed for each character pair.
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

◆ FindBestMatchingGuildFriendlinessTag()

FGameplayTag FindBestMatchingGuildFriendlinessTag ( FGameplayTag Tag) const

Given a guild tag, finds the best matching parent tag that has been configured here.

For example, given Guild.OldCamp.Digger, this might return Guild.OldCamp if we have a friendliness configured for that.

◆ FindBestMatchingGuildHostilityTag()

FGameplayTag FindBestMatchingGuildHostilityTag ( FGameplayTag Tag) const

Given a guild tag, finds the best matching parent tag that has been configured here.

For example, given Guild.OldCamp.Digger, this might return Guild.OldCamp if we have a hostility configured for that.

◆ FindBestMatchingGuildRankTag()

FGameplayTag FindBestMatchingGuildRankTag ( FGameplayTag Tag) const

Given a guild tag, finds the best matching parent tag that has been configured here.

For example, given Guild.OldCamp.Digger, this might return Guild.OldCamp if we have a rank configured for that.

◆ FindBestMatchingSpeciesFriendlinessTag()

FGameplayTag FindBestMatchingSpeciesFriendlinessTag ( FGameplayTag Tag) const

Given a species tag, finds the best matching parent tag that has been configured here.

For example, given Species.OldCamp.Digger, this might return Species.OldCamp if we have a friendliness configured for that.

◆ FindBestMatchingSpeciesHostilityTag()

FGameplayTag FindBestMatchingSpeciesHostilityTag ( FGameplayTag Tag) const

Given a species tag, finds the best matching parent tag that has been configured here.

For example, given Species.OldCamp.Digger, this might return Species.OldCamp if we have a hostility configured for that.

◆ FindBestMatchingSpeciesRankTag()

FGameplayTag FindBestMatchingSpeciesRankTag ( FGameplayTag Tag) const

Given a species tag, finds the best matching parent tag that has been configured here.

For example, given Species.OldCamp.Digger, this might return Species.OldCamp if we have a rank configured for that.

◆ IsApplicableForWorld()

bool IsApplicableForWorld ( UWorld ThisWorld) const

Can this modifier be applied to the given world? (e.g. is it in the correct chapter?).

◆ StaticClass()

UClass StaticClass ( )
static

Member Data Documentation

◆ ForGuild

What kind of guilds this modifier should be applied to.

◆ ForSpecies

What kind of species this modifier should be applied to.

◆ FriendlinessTowardsGuild

TMap<FGameplayTag,ERelationship> FriendlinessTowardsGuild

How friendly are we to these guilds?

◆ FriendlinessTowardsSpecies

TMap<FGameplayTag,ERelationship> FriendlinessTowardsSpecies

How friendly are we to these species?

◆ HostilityTowardsGuild

TMap<FGameplayTag,ERelationshipHostility> HostilityTowardsGuild

How hostile are we to these guilds?

◆ HostilityTowardsSpecies

TMap<FGameplayTag,ERelationshipHostility> HostilityTowardsSpecies

How hostile are we to these species?

◆ IgnoredCrimes

TArray<FIgnoredCrimeSetup> IgnoredCrimes

Crimes and the locations where they should be ignored.

◆ PursuedCrimes

TArray<FPursuedCrimeSetup> PursuedCrimes

Crimes and the locations where they should be pursued.

◆ RankOfGuild

How is this guilds rank from our point of view?

◆ RankOfSpecies

How is this species rank from our point of view?

◆ Weight

float32 Weight

Modifiers with higher weights will replace the relationship returned by other modifiers.