G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
FPerceptionSmellSettings Struct Reference

Public Member Functions

Functions
void SetFarRangeModifier (float32 DistanceModifier)
void SetCloseRangeDistance (float32 Distance)
void SetCloseRangeModifier (float32 DistanceModifier)
void SetFarRange (float32 Distance, float32 DistanceModifier)
void SetFarRangeDistance (float32 Distance)
void SetCloseRange (float32 Distance, float32 DistanceModifier)
void SetMidRange (float32 Distance, float32 DistanceModifier)
void SetMidRangeDistance (float32 Distance)
void SetMidRangeModifier (float32 DistanceModifier)
void SetWeatherModifier (float32 RainLevel1, float32 RainLevel2, float32 RainLevel3, float32 Sunny=0.000000, float32 Cloudy=0.000000)
FPerceptionSmellSettings & opAssign (FPerceptionSmellSettings Other)

Public Attributes

PerceptionSmellSettings
bool LoseAwarenessWithExcludingTags
TMap< FGameplayTag, float32 > TargetOwnedTagModifiers
 Modifiers that are applied when the Target Character has the given tag.
TMap< FGameplayTag, float32 > SensingOwnedTagModifiers
 Modifiers that are applied when the Sensing Character has the given tag.
float32 OnScreenSkillModifier
float32 OffScreenSkillModifier
FGameplayTagContainer ExcludingTags
 When Agent has one of these Tags he cant smell anything.
float32 SmellRange
 Absolute maximum distance this character will be able to smell.
bool bUseLowerOffscreenSkill
float32 AwarenessWearoffFactor
 How much Awareness is lost per second when the target isnt smellable.
FGameplayTagContainer BlockAwarenessWearOffWithSensorTags
FGameplayTagContainer BlockAwarenessWearOffWithSensedTags
bool bIgnoreObstacles

Member Function Documentation

◆ opAssign()

◆ SetCloseRange()

void SetCloseRange ( float32 Distance,
float32 DistanceModifier )

◆ SetCloseRangeDistance()

void SetCloseRangeDistance ( float32 Distance)

◆ SetCloseRangeModifier()

void SetCloseRangeModifier ( float32 DistanceModifier)

◆ SetFarRange()

void SetFarRange ( float32 Distance,
float32 DistanceModifier )

◆ SetFarRangeDistance()

void SetFarRangeDistance ( float32 Distance)

◆ SetFarRangeModifier()

void SetFarRangeModifier ( float32 DistanceModifier)

◆ SetMidRange()

void SetMidRange ( float32 Distance,
float32 DistanceModifier )

◆ SetMidRangeDistance()

void SetMidRangeDistance ( float32 Distance)

◆ SetMidRangeModifier()

void SetMidRangeModifier ( float32 DistanceModifier)

◆ SetWeatherModifier()

void SetWeatherModifier ( float32 RainLevel1,
float32 RainLevel2,
float32 RainLevel3,
float32 Sunny = 0.000000,
float32 Cloudy = 0.000000 )

Member Data Documentation

◆ AwarenessWearoffFactor

float32 AwarenessWearoffFactor

How much Awareness is lost per second when the target isnt smellable.

◆ bIgnoreObstacles

bool bIgnoreObstacles

◆ BlockAwarenessWearOffWithSensedTags

FGameplayTagContainer BlockAwarenessWearOffWithSensedTags

◆ BlockAwarenessWearOffWithSensorTags

FGameplayTagContainer BlockAwarenessWearOffWithSensorTags

◆ bUseLowerOffscreenSkill

bool bUseLowerOffscreenSkill

◆ ExcludingTags

FGameplayTagContainer ExcludingTags

When Agent has one of these Tags he cant smell anything.

◆ LoseAwarenessWithExcludingTags

bool LoseAwarenessWithExcludingTags

◆ OffScreenSkillModifier

float32 OffScreenSkillModifier

◆ OnScreenSkillModifier

float32 OnScreenSkillModifier

◆ SensingOwnedTagModifiers

TMap<FGameplayTag,float32> SensingOwnedTagModifiers

Modifiers that are applied when the Sensing Character has the given tag.

◆ SmellRange

float32 SmellRange

Absolute maximum distance this character will be able to smell.

◆ TargetOwnedTagModifiers

TMap<FGameplayTag,float32> TargetOwnedTagModifiers

Modifiers that are applied when the Target Character has the given tag.