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

Annotation to define a entrance locations for a Smart Object Slot. This can be used to add multiple entry points to a slot, or to validate the entries against navigation data. More...

Public Member Functions

Functions
void SetbIsEntry (bool Value)
 Set to true if the entry can be used to enter the slot.
void SetbIsExit (bool Value)
 Set to true if the entry can be used to exit the slot.
void SetbTraceGroundLocation (bool Value)
 If set to true, ground location will be adjusted using a line trace.
void SetbCheckTransitionTrajectory (bool Value)
 If set to true, collisions will be checked between the transition from navigation location and slot location.
FSmartObjectSlotEntranceAnnotation & opAssign (FSmartObjectSlotEntranceAnnotation Other)

Public Attributes

Default
FRotator3f Rotation
 Local space rotation of the entry.
FGameplayTagContainer Tags
 Tags that can be used to identify the entry.
ESmartObjectEntrancePriority SelectionPriority
 During entrance selection, the highest priority entrance is selected. If multiple entrances share same priority, then the selection method is used (e.g. based on distance).
float32 TrajectoryStartHeightOffset
 Height offset at start of the transition collision check.
float32 TrajectorySlotHeightOffset
 Height offset at slot location of the transition collision check.
float32 TransitionCheckRadius
 Radius of the transition trajectory check.
FVector3f Offset
 Local space offset of the entry.

Detailed Description

Annotation to define a entrance locations for a Smart Object Slot. This can be used to add multiple entry points to a slot, or to validate the entries against navigation data.

Member Function Documentation

◆ opAssign()

◆ SetbCheckTransitionTrajectory()

void SetbCheckTransitionTrajectory ( bool Value)

If set to true, collisions will be checked between the transition from navigation location and slot location.

◆ SetbIsEntry()

void SetbIsEntry ( bool Value)

Set to true if the entry can be used to enter the slot.

◆ SetbIsExit()

void SetbIsExit ( bool Value)

Set to true if the entry can be used to exit the slot.

◆ SetbTraceGroundLocation()

void SetbTraceGroundLocation ( bool Value)

If set to true, ground location will be adjusted using a line trace.

Member Data Documentation

◆ Offset

FVector3f Offset

Local space offset of the entry.

◆ Rotation

FRotator3f Rotation

Local space rotation of the entry.

◆ SelectionPriority

ESmartObjectEntrancePriority SelectionPriority

During entrance selection, the highest priority entrance is selected. If multiple entrances share same priority, then the selection method is used (e.g. based on distance).

◆ Tags

Tags that can be used to identify the entry.

◆ TrajectorySlotHeightOffset

float32 TrajectorySlotHeightOffset

Height offset at slot location of the transition collision check.

◆ TrajectoryStartHeightOffset

float32 TrajectoryStartHeightOffset

Height offset at start of the transition collision check.

◆ TransitionCheckRadius

float32 TransitionCheckRadius

Radius of the transition trajectory check.