|
G1R AngelScript
Scripting reference for the Gothic 1 Remake
|
Marks the enclosed area to belong to a certain AreaTag. (Used for ownership and crime detection). More...
Static Public Member Functions | |
Static Functions | |
| static FGameplayTagContainer | FindAllAreaTagsAtLocation (FVector Location) |
| Returns all area tags at the given location. | |
| static UAreaTagRegionTrait | FindAreaAtLocation (FVector Location) |
| Returns the highest-priority area at the given location. | |
| static FGameplayTag | FindAreaTagAtLocation (FVector Location) |
| Returns the highest-priority area tag at the given location. | |
| static UClass | StaticClass () |
| static TArray< UAreaTagRegionTrait > | FindAllAreasAtLocation (FVector Location) |
| Returns all areas at the given location. | |
| Static Public Member Functions inherited from URegionTrait | |
| static UClass | StaticClass () |
| Static Public Member Functions inherited from UObject | |
| static UClass | StaticClass () |
Public Attributes | |
AreaTagRegionTrait | |
| int | Priority |
| Only the trait with the highest priority will decide the Location a character is in. Combine high priority with small volumes to make "cutouts" within larger areas. | |
| FGameplayTag | AreaName |
| Tag of this Location. | |
| Public Attributes inherited from URegionTrait | |
| bool | bRequireLocalPlayer |
| If the entering character is a player, only allow this trait if it's also the local player. | |
| bool | bHandlePlayerCharacters |
| Events will be handled when player controlled characters enter. | |
| bool | bHandleNonPlayerCharacters |
| Events will be handled when non-player controlled characters enter. | |
| bool | bServerOnly |
| Only ever handle characters if this trait is on the Server. | |
| bool | bAllowSpatiallyLoaded |
| If true, this region trait allows the owning actor to be spatially loaded. If any trait has this set to false, the whole actor will not be spatially loaded. | |
| Public Attributes inherited from UObject | |
| const UClass | Class |
| const UObject | Outer |
| const UPackage | Outermost |
| const UPackage | Package |
| const UWorld | World |
| const FName | Name |
| const bool | IsRooted |
Additional Inherited Members | |
| Public Member Functions inherited from URegionTrait | |
| void | HandleCharacterLeavingRegion (AGothicCharacterState CharacterState) |
| Override to specify what should happen when a character left this region. | |
| void | HandleHandleOwnerEndPlay () |
| Override to specify what should happen when a character left this region. | |
| bool | ShouldHandleCharacter (const AGothicCharacterState CharacterState) const |
| Override to filter for which characters the HandleCharacter functions will be called. | |
| float32 | GetDistanceToCollisionFromPoint (FVector Point) const |
| Get Distance from given point to closest point on collision. | |
| void | HandleCharacterEnteringRegion (AGothicCharacterState CharacterState) |
| Override to specify what should happen when a character entered this region. | |
| Public Member Functions inherited from UObject | |
| bool | MarkPackageDirty () const |
| void | RemoveFromRoot () |
| bool | GetIsRooted () const |
| bool | IsTransient () const |
| bool | Modify (bool bAlwaysMarkDirty=true) |
| void | SetTransactional (bool bTransactional) |
| bool | IsSupportedForNetworking () const |
| UClass | GetClass () const |
| UObject | GetOuter () const |
| UObject | GetTypedOuter (TSubclassOf< UObject > Target) const |
| Traverses the outer chain searching for the next object of a certain type. | |
| UPackage | GetOutermost () const |
| UPackage | GetPackage () const |
| void | AddToRoot () |
| UWorld | GetWorld () const |
| FName | GetName () const |
| FString | GetFullName (const UObject StopOuter=nullptr) const |
| FString | GetPathName (const UObject StopOuter=nullptr) const |
| bool | IsA (const UClass Class) const |
| Returns true if this object is of the specified type, or a child of that type. | |
| void | SaveConfig () |
| void | LoadConfig () |
| void | ReloadConfig () |
| void | CopyScriptPropertiesFrom (const UObject OtherObject) |
| void | opCast (?&Address) const |
| FString | ToString () const |
Marks the enclosed area to belong to a certain AreaTag. (Used for ownership and crime detection).
|
static |
Returns all areas at the given location.
|
static |
Returns all area tags at the given location.
|
static |
Returns the highest-priority area at the given location.
|
static |
Returns the highest-priority area tag at the given location.
|
static |
| FGameplayTag AreaName |
Tag of this Location.
| int Priority |
Only the trait with the highest priority will decide the Location a character is in. Combine high priority with small volumes to make "cutouts" within larger areas.