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

A spot in the world where a character can do a certain configured action. More...

Public Member Functions

Functions
FInteractionSpot & opAssign (FInteractionSpot Other)

Public Attributes

InteractionSpot
float32 AreaRadius
 Area that belongs to this spot, relative to the Transform.
FRotator Rotation
 Spots "forward facing" rotation. Do not modify directly on registered spots, use MoveSpot instead!
FName Name
 Unique name for each spot.
FGameplayTagContainer PossibleActions
 Actions that are possible on this spot.
bool bAllowAnyOrientationWhenUsing
 If true, characters using this will not rotate to align to this spot before using it.
bool bAllowChainingActions
 Whether multiple different actions can be done on this spot without leaving it.
EInteractionSpotEntryDirection EntryDirection
 This decides the entry animation to be used with this spot.
FVector Location
 Where this spot is in the world. Do not modify directly on registered spots, use MoveSpot instead!
int NumAllowedUsers
 How many actors can claim/use this spot at the same time.
float32 Priority
 Multiplier of how likely this point is going to be used by AI. (1=Default, 0=Never, 2=Twice as likely, etc).
TSoftObjectPtr< AActor > ActorToInteractWith
 Actor that should be part of this interaction.
TSoftObjectPtr< UDataLayerAsset > DataLayer
 Datalayer that this spot is on. The spot will only be available if the datalayer is loaded and active.
float32 CooldownDuration
 How long the spot should be seen as "unusable" after a Character left it.
float32 LastTimeUsed
 Time when this spot had been occupied the last time.

Detailed Description

A spot in the world where a character can do a certain configured action.

Member Function Documentation

◆ opAssign()

FInteractionSpot & opAssign ( FInteractionSpot Other)

Member Data Documentation

◆ ActorToInteractWith

TSoftObjectPtr<AActor> ActorToInteractWith

Actor that should be part of this interaction.

◆ AreaRadius

float32 AreaRadius

Area that belongs to this spot, relative to the Transform.

◆ bAllowAnyOrientationWhenUsing

bool bAllowAnyOrientationWhenUsing

If true, characters using this will not rotate to align to this spot before using it.

◆ bAllowChainingActions

bool bAllowChainingActions

Whether multiple different actions can be done on this spot without leaving it.

◆ CooldownDuration

float32 CooldownDuration

How long the spot should be seen as "unusable" after a Character left it.

◆ DataLayer

Datalayer that this spot is on. The spot will only be available if the datalayer is loaded and active.

◆ EntryDirection

This decides the entry animation to be used with this spot.

◆ LastTimeUsed

float32 LastTimeUsed

Time when this spot had been occupied the last time.

◆ Location

FVector Location

Where this spot is in the world. Do not modify directly on registered spots, use MoveSpot instead!

◆ Name

FName Name

Unique name for each spot.

◆ NumAllowedUsers

int NumAllowedUsers

How many actors can claim/use this spot at the same time.

◆ PossibleActions

FGameplayTagContainer PossibleActions

Actions that are possible on this spot.

◆ Priority

float32 Priority

Multiplier of how likely this point is going to be used by AI. (1=Default, 0=Never, 2=Twice as likely, etc).

◆ Rotation

FRotator Rotation

Spots "forward facing" rotation. Do not modify directly on registered spots, use MoveSpot instead!