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

Public Member Functions

Functions
FInteraction & opAssign (FInteraction Other)

Public Attributes

Interaction
int Priority
 Allows choosing this interaction over another one, even if both are possible.
float32 Weight
 Random weight for choosing this action when a roaming spot was reached.
float32 DurationSeconds
 How long the action should be performed for.
float32 DurationVariance
 Random variance added to the duration when doing this action.
float32 CooldownOnFail
 How many seconds should we wait before trying this action again after it failed once.
bool bMayUseCustomAbility
 If true, expect this to be done by a custom ability (non-GAInteractFreepoint, e.g. doors, puzzles), which we don't know of when it's available. Will always consider spots with this action, even if that interaction was not added to the ambient actions of the character.
TMap< FGameplayTag, FInGameTime > RequireTimeSinceAction
 Require this much time to pass since these actions have happened.
FGameplayTag ActionTag

Member Function Documentation

◆ opAssign()

FInteraction & opAssign ( FInteraction Other)

Member Data Documentation

◆ ActionTag

FGameplayTag ActionTag

◆ bMayUseCustomAbility

bool bMayUseCustomAbility

If true, expect this to be done by a custom ability (non-GAInteractFreepoint, e.g. doors, puzzles), which we don't know of when it's available. Will always consider spots with this action, even if that interaction was not added to the ambient actions of the character.

◆ CooldownOnFail

float32 CooldownOnFail

How many seconds should we wait before trying this action again after it failed once.

◆ DurationSeconds

float32 DurationSeconds

How long the action should be performed for.

◆ DurationVariance

float32 DurationVariance

Random variance added to the duration when doing this action.

◆ Priority

int Priority

Allows choosing this interaction over another one, even if both are possible.

◆ RequireTimeSinceAction

TMap<FGameplayTag,FInGameTime> RequireTimeSinceAction

Require this much time to pass since these actions have happened.

◆ Weight

float32 Weight

Random weight for choosing this action when a roaming spot was reached.