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

Public Member Functions

Functions
FAIDamageEvent & opAssign (FAIDamageEvent Other)

Public Attributes

Sense
FVector Location
 Event's "Location", or what will be later treated as the perceived location for this sense. If not set, HitLocation will be used, if that is unset too DamagedActor's location.
FVector HitLocation
 Event's additional spatial information @TODO document.
AActor DamagedActor
 Damaged actor.
AActor Instigator
 Actor that instigated damage. Can be None.
FName Tag
 Optional named identifier for the damage.
float32 Amount
 Damage taken by DamagedActor. @Note 0-damage events do not get ignored.

Member Function Documentation

◆ opAssign()

FAIDamageEvent & opAssign ( FAIDamageEvent Other)

Member Data Documentation

◆ Amount

float32 Amount

Damage taken by DamagedActor. @Note 0-damage events do not get ignored.

◆ DamagedActor

AActor DamagedActor

Damaged actor.

◆ HitLocation

FVector HitLocation

Event's additional spatial information @TODO document.

◆ Instigator

AActor Instigator

Actor that instigated damage. Can be None.

◆ Location

FVector Location

Event's "Location", or what will be later treated as the perceived location for this sense. If not set, HitLocation will be used, if that is unset too DamagedActor's location.

◆ Tag

FName Tag

Optional named identifier for the damage.