|
G1R AngelScript
Scripting reference for the Gothic 1 Remake
|
Public Member Functions | |
Functions | |
| bool | IsCharacterStateWithinTerritory (const AGothicCharacterState State, const UTerritoryConfig Territory) const |
| Returns true if the given Character states Location is within the givne Territory. | |
| bool | GetDebugAlwaysReturnBeingInTerritory () const |
| bool | GetDebugNeverHaveCharacterInCombatRadius () const |
| FInteractionSpotHandle | GetDisengageSpotInTerritory (const UTerritoryConfig Territory, AGothicCharacterState State, AGothicCharacterState AttackerState, FGameplayTagContainer ValidSpotActionTags, int CheckSpotAmount) const |
| Returns a Spot Handle inside Territory, selected for Disengage. | |
| UTerritoryConfig | GetTerritoryByAdditionalAreaTags (FGameplayTag AreaTag, const UAbilitySystemComponent ASC) const |
| UTerritoryConfig | GetTerritoryByAreaTagContainer (FGameplayTagContainer AreaTags, const UAbilitySystemComponent ASC) const |
| Override taken Tag Container Returns the first Territory found for a tag in the container. | |
| UTerritoryConfig | GetTerritoryByAssociatedAreaTag (FGameplayTag AreaTag, const UAbilitySystemComponent ASC) const |
| Returns a Territory Config Class with Associated tag exactly matching given Area Tag May be nulltpr when no class was found. | |
| bool | GetDebugAlwaysHaveCharacterInCombatRadius () const |
| void | SetDebugAlwaysHaveCharacterInCombatRadius (bool bValue) |
| void | SetDebugAlwaysReturnBeingInTerritory (bool bValue) |
| void | SetDebugNeverHaveCharacterInCombatRadius (bool bValue) |
| bool | TryGetRandomNavigablePointWithinTerritory (const AGothicCharacterState State, const UTerritoryConfig Territory, FVector &OutPoint) const |
| 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 |
Static Public Member Functions | |
Static Functions | |
| static UTerritorySubsystem | Get () |
| static UClass | StaticClass () |
| Static Public Member Functions inherited from UWorldSubsystem | |
| static UClass | StaticClass () |
| Static Public Member Functions inherited from USubsystem | |
| static UClass | StaticClass () |
| Static Public Member Functions inherited from UObject | |
| static UClass | StaticClass () |
Public Attributes | |
TerritorySubsystem | |
| float32 | CharacterBoundingBoxExtent |
| float32 | MaxHeightDifferenceToSpot |
| float32 | FarEnoughSpotDistance |
| While looking for Spots in an Area, if a Spot is further away than this we can stop searching, this is far enough. | |
Variables | |
| bool | DebugAlwaysReturnBeingInTerritory |
| bool | DebugNeverHaveCharacterInCombatRadius |
| bool | DebugAlwaysHaveCharacterInCombatRadius |
| 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 |
|
static |
| bool GetDebugAlwaysHaveCharacterInCombatRadius | ( | ) | const |
| bool GetDebugAlwaysReturnBeingInTerritory | ( | ) | const |
| bool GetDebugNeverHaveCharacterInCombatRadius | ( | ) | const |
| FInteractionSpotHandle GetDisengageSpotInTerritory | ( | const UTerritoryConfig | Territory, |
| AGothicCharacterState | State, | ||
| AGothicCharacterState | AttackerState, | ||
| FGameplayTagContainer | ValidSpotActionTags, | ||
| int | CheckSpotAmount ) const |
Returns a Spot Handle inside Territory, selected for Disengage.
| UTerritoryConfig GetTerritoryByAdditionalAreaTags | ( | FGameplayTag | AreaTag, |
| const UAbilitySystemComponent | ASC ) const |
| UTerritoryConfig GetTerritoryByAreaTagContainer | ( | FGameplayTagContainer | AreaTags, |
| const UAbilitySystemComponent | ASC ) const |
Override taken Tag Container Returns the first Territory found for a tag in the container.
| UTerritoryConfig GetTerritoryByAssociatedAreaTag | ( | FGameplayTag | AreaTag, |
| const UAbilitySystemComponent | ASC ) const |
Returns a Territory Config Class with Associated tag exactly matching given Area Tag May be nulltpr when no class was found.
| bool IsCharacterStateWithinTerritory | ( | const AGothicCharacterState | State, |
| const UTerritoryConfig | Territory ) const |
Returns true if the given Character states Location is within the givne Territory.
| void SetDebugAlwaysHaveCharacterInCombatRadius | ( | bool | bValue | ) |
| void SetDebugAlwaysReturnBeingInTerritory | ( | bool | bValue | ) |
| void SetDebugNeverHaveCharacterInCombatRadius | ( | bool | bValue | ) |
|
static |
| bool TryGetRandomNavigablePointWithinTerritory | ( | const AGothicCharacterState | State, |
| const UTerritoryConfig | Territory, | ||
| FVector & | OutPoint ) const |
| float32 CharacterBoundingBoxExtent |
| bool DebugAlwaysHaveCharacterInCombatRadius |
| bool DebugAlwaysReturnBeingInTerritory |
| bool DebugNeverHaveCharacterInCombatRadius |
| float32 FarEnoughSpotDistance |
While looking for Spots in an Area, if a Spot is further away than this we can stop searching, this is far enough.
| float32 MaxHeightDifferenceToSpot |