|
G1R AngelScript
Scripting reference for the Gothic 1 Remake
|
Functions | |
AI|BehaviorTree | |
| void | SetBlackboardValueAsSOClaimHandle (UBTNode NodeOwner, FBlackboardKeySelector Key, FSmartObjectClaimHandle Value) |
| FSmartObjectClaimHandle | GetBlackboardValueAsSOClaimHandle (UBTNode NodeOwner, FBlackboardKeySelector Key) |
SmartObject | |
| bool | AddSmartObject (AActor SmartObjectActor) |
| Adds to the simulation all smart objects for an actor. | |
| bool | AddOrRemoveSmartObject (AActor SmartObject, bool bEnabled) |
| Adds to the simulation all smart objects for an actor or removes them according to 'bAdd'. | |
| bool | AddOrRemoveMultipleSmartObjects (TArray< AActor > SmartObjectActors, bool bAdd) |
| Adds to the simulation all smart objects for multiple actors or removes them according to 'bAdd'. | |
| FSmartObjectClaimHandle | GetValueAsSOClaimHandle (UBlackboardComponent BlackboardComponent, FName KeyName) |
| bool | AddMultipleSmartObjects (TArray< AActor > SmartObjectActors) |
| Adds to the simulation all smart objects for multiple actors. | |
| FSmartObjectClaimHandle | SmartObjectClaimHandle_Invalid () |
| Returns the invalid smart object claim handle. | |
| void | SetValueAsSOClaimHandle (UBlackboardComponent BlackboardComponent, FName KeyName, FSmartObjectClaimHandle Value) |
| bool | IsValidSmartObjectClaimHandle (const FSmartObjectClaimHandle Handle) |
| const USmartObjectBehaviorDefinition | MarkSmartObjectSlotAsOccupied (const FSmartObjectClaimHandle ClaimHandle, TSubclassOf< USmartObjectBehaviorDefinition > DefinitionClass) |
| Marks a previously claimed smart object slot as occupied. | |
| bool | FindSmartObjectsInComponent (FSmartObjectRequestFilter Filter, USmartObjectComponent SmartObjectComponent, TArray< FSmartObjectRequestResult > &OutResults, const AActor UserActor=nullptr) |
| Search a given Smart Object Component for slot candidates respecting the request criteria and selection conditions. | |
| bool | FindSmartObjectsInActor (FSmartObjectRequestFilter Filter, AActor SearchActor, TArray< FSmartObjectRequestResult > &OutResults, const AActor UserActor=nullptr) |
| Search a given Actor for slot candidates respecting the request criteria and selection conditions. | |
| bool | FindSmartObjectsInTargetingRequest (FSmartObjectRequestFilter Filter, const FTargetingRequestHandle TargetingHandle, TArray< FSmartObjectRequestResult > &OutResults, const AActor UserActor=nullptr) |
| Search the results of the given targeting handle request for smart objects that match the request criteria. | |
| bool | SetSmartObjectEnabled (AActor SmartObjectActor, bool bEnabled) |
| Marks all smart objects for an actor as enabled or not according to 'bEnabled'. A smart object marked as Enabled is available for queries. | |
| bool | RemoveSmartObject (AActor SmartObjectActor) |
| Removes from the simulation all smart objects for an actor. | |
| bool | RemoveMultipleSmartObjects (TArray< AActor > SmartObjectActors) |
| Removes from the simulation all smart objects for multiple actors. | |
| bool | FindSmartObjectsInList (FSmartObjectRequestFilter Filter, TArray< AActor > ActorList, TArray< FSmartObjectRequestResult > &OutResults, const AActor UserActor=nullptr) |
| Search list of specific actors (often from a physics query) for slot candidates respecting request criteria and selection conditions. | |
| bool | SetMultipleSmartObjectsEnabled (TArray< AActor > SmartObjectActors, bool bEnabled) |
| Marks all smart objects for a list of actors as enabled or not according to 'bEnabled'. A smart object marked as Enabled is available for queries. | |
| FSmartObjectClaimHandle | MarkSmartObjectSlotAsClaimed (const FSmartObjectSlotHandle SlotHandle, const AActor UserActor=nullptr, ESmartObjectClaimPriority ClaimPriority=ESmartObjectClaimPriority ::Normal) |
| Marks a smart object slot from a request result as claimed. | |
| bool | MarkSmartObjectSlotAsFree (const FSmartObjectClaimHandle ClaimHandle) |
| Marks a claimed or occupied smart object as free. | |
SmartObjects | |
| bool | Equal_SmartObjectSlotHandleSmartObjectSlotHandle (FSmartObjectSlotHandle A, FSmartObjectSlotHandle B) |
| Returns true if SmartObjectSlotHandle A is equal to SmartObjectSlotHandle B (A == B). | |
| bool | Equal_SmartObjectHandleSmartObjectHandle (FSmartObjectHandle A, FSmartObjectHandle B) |
| Returns true if SmartObjectHandle A is equal to SmartObjectHandle B (A == B). | |
| bool | NotEqual_SmartObjectHandleSmartObjectHandle (FSmartObjectHandle A, FSmartObjectHandle B) |
| Returns true if SmartObjectHandle A is NOT equal to SmartObjectHandle B (A != B). | |
| bool | NotEqual_SmartObjectSlotHandleSmartObjectSlotHandle (FSmartObjectSlotHandle A, FSmartObjectSlotHandle B) |
| Returns true if SmartObjectSlotHandle A is NOT equal to SmartObjectSlotHandle B (A != B). | |
| bool | IsValidSmartObjectHandle (FSmartObjectHandle Handle) |
| Returns true if the given handle is valid. | |
| bool | IsValidSmartObjectSlotHandle (FSmartObjectSlotHandle Handle) |
| Returns true if the given Smart Object Slot Handle is valid. | |
Utilities|String | |
| FString | Conv_SmartObjectHandleToString (FSmartObjectHandle Handle) |
| Converts a SmartObjectHandle value to a string. | |
| FString | Conv_SmartObjectDefinitionToString (const USmartObjectDefinition Definition) |
| Converts a SmartObjectDefinition value to a string. | |
| FString | Conv_SmartObjectSlotHandleToString (FSmartObjectSlotHandle Handle) |
| Converts a SmartObjectSlotHandle value to a string. | |
| FString | Conv_SmartObjectRequestResultToString (FSmartObjectRequestResult Result) |
| Converts a SmartObjectRequestResult value to a string. | |
| FString | Conv_SmartObjectClaimHandleToString (FSmartObjectClaimHandle Result) |
| Converts a SmartObjectClaimHandle value to a string. | |
Adds to the simulation all smart objects for multiple actors.
| SmartObjectActors | The actors containing the smart objects to add to the simulation |
Adds to the simulation all smart objects for multiple actors or removes them according to 'bAdd'.
| SmartObjectActors | The actors containing the smart objects to add or remove from the simulation |
| bAdd | Whether the smart objects should be added or removed from the simulation |
| bool AddOrRemoveSmartObject | ( | AActor | SmartObject, |
| bool | bEnabled ) |
Adds to the simulation all smart objects for an actor or removes them according to 'bAdd'.
| bool AddSmartObject | ( | AActor | SmartObjectActor | ) |
Adds to the simulation all smart objects for an actor.
| SmartObjectActor | The actor containing the smart objects to add to the simulation |
| FString Conv_SmartObjectClaimHandleToString | ( | FSmartObjectClaimHandle | Result | ) |
Converts a SmartObjectClaimHandle value to a string.
| FString Conv_SmartObjectDefinitionToString | ( | const USmartObjectDefinition | Definition | ) |
Converts a SmartObjectDefinition value to a string.
| FString Conv_SmartObjectHandleToString | ( | FSmartObjectHandle | Handle | ) |
Converts a SmartObjectHandle value to a string.
| FString Conv_SmartObjectRequestResultToString | ( | FSmartObjectRequestResult | Result | ) |
Converts a SmartObjectRequestResult value to a string.
| FString Conv_SmartObjectSlotHandleToString | ( | FSmartObjectSlotHandle | Handle | ) |
Converts a SmartObjectSlotHandle value to a string.
| bool Equal_SmartObjectHandleSmartObjectHandle | ( | FSmartObjectHandle | A, |
| FSmartObjectHandle | B ) |
Returns true if SmartObjectHandle A is equal to SmartObjectHandle B (A == B).
| bool Equal_SmartObjectSlotHandleSmartObjectSlotHandle | ( | FSmartObjectSlotHandle | A, |
| FSmartObjectSlotHandle | B ) |
Returns true if SmartObjectSlotHandle A is equal to SmartObjectSlotHandle B (A == B).
| bool FindSmartObjectsInActor | ( | FSmartObjectRequestFilter | Filter, |
| AActor | SearchActor, | ||
| TArray< FSmartObjectRequestResult > & | OutResults, | ||
| const AActor | UserActor = nullptr ) |
Search a given Actor for slot candidates respecting the request criteria and selection conditions.
| Filter | Parameters defining the search area and criteria |
| SearchActor | The actor to search |
| OutResults | List of smart object slot candidates found in range |
| UserActor | Used to create additional data that could be provided to bind values in the conditions evaluation context |
| bool FindSmartObjectsInComponent | ( | FSmartObjectRequestFilter | Filter, |
| USmartObjectComponent | SmartObjectComponent, | ||
| TArray< FSmartObjectRequestResult > & | OutResults, | ||
| const AActor | UserActor = nullptr ) |
Search a given Smart Object Component for slot candidates respecting the request criteria and selection conditions.
| Filter | Parameters defining the search area and criteria |
| SmartObjectComponent | The component to search |
| OutResults | List of smart object slot candidates found in range |
| UserActor | Used to create additional data that could be provided to bind values in the conditions evaluation context |
| bool FindSmartObjectsInList | ( | FSmartObjectRequestFilter | Filter, |
| TArray< AActor > | ActorList, | ||
| TArray< FSmartObjectRequestResult > & | OutResults, | ||
| const AActor | UserActor = nullptr ) |
Search list of specific actors (often from a physics query) for slot candidates respecting request criteria and selection conditions.
| WorldContextObject | Object used to fetch the SmartObjectSubsystem of its associated world. |
| Filter | Parameters defining the search area and criteria |
| ActorList | Ordered list of actors to search |
| OutResults | List of smart object slot candidates found in range |
| bool FindSmartObjectsInTargetingRequest | ( | FSmartObjectRequestFilter | Filter, |
| const FTargetingRequestHandle | TargetingHandle, | ||
| TArray< FSmartObjectRequestResult > & | OutResults, | ||
| const AActor | UserActor = nullptr ) |
Search the results of the given targeting handle request for smart objects that match the request criteria.
| WorldContextObject | Object used to fetch the SmartObjectSubsystem of its associated world. |
| Filter | Parameters defining the search area and criteria |
| TargetingHandle | The targeting handle of the request that will have its results searched for smart objects |
| OutResults | List of smart object slot candidates found in range |
| UserActor | Used to create additional data that could be provided to bind values in the conditions evaluation context |
| FSmartObjectClaimHandle GetBlackboardValueAsSOClaimHandle | ( | UBTNode | NodeOwner, |
| FBlackboardKeySelector | Key ) |
| FSmartObjectClaimHandle GetValueAsSOClaimHandle | ( | UBlackboardComponent | BlackboardComponent, |
| FName | KeyName ) |
| bool IsValidSmartObjectClaimHandle | ( | const FSmartObjectClaimHandle | Handle | ) |
| bool IsValidSmartObjectHandle | ( | FSmartObjectHandle | Handle | ) |
Returns true if the given handle is valid.
| bool IsValidSmartObjectSlotHandle | ( | FSmartObjectSlotHandle | Handle | ) |
Returns true if the given Smart Object Slot Handle is valid.
| FSmartObjectClaimHandle MarkSmartObjectSlotAsClaimed | ( | const FSmartObjectSlotHandle | SlotHandle, |
| const AActor | UserActor = nullptr, | ||
| ESmartObjectClaimPriority | ClaimPriority = ESmartObjectClaimPriority :: Normal ) |
Marks a smart object slot from a request result as claimed.
| WorldContextObject | Object used to fetch the SmartObjectSubsystem of its associated world. |
| SlotHandle | Handle to a smart object slot. |
| UserActor | Actor claiming the smart object |
| ClaimPriority | Claim priority, a slot claimed at lower priority can be claimed by higher priority (unless already in use). |
| bool MarkSmartObjectSlotAsFree | ( | const FSmartObjectClaimHandle | ClaimHandle | ) |
Marks a claimed or occupied smart object as free.
| WorldContextObject | Object used to fetch the SmartObjectSubsystem of its associated world. |
| ClaimHandle | Handle to a claimed slot returned by any of the Claim methods. |
| const USmartObjectBehaviorDefinition MarkSmartObjectSlotAsOccupied | ( | const FSmartObjectClaimHandle | ClaimHandle, |
| TSubclassOf< USmartObjectBehaviorDefinition > | DefinitionClass ) |
Marks a previously claimed smart object slot as occupied.
| WorldContextObject | Object used to fetch the SmartObjectSubsystem of its associated world. |
| ClaimHandle | Handle to a claimed slot returned by any of the Claim methods. |
| DefinitionClass | The type of behavior definition the user wants to use. |
| bool NotEqual_SmartObjectHandleSmartObjectHandle | ( | FSmartObjectHandle | A, |
| FSmartObjectHandle | B ) |
Returns true if SmartObjectHandle A is NOT equal to SmartObjectHandle B (A != B).
| bool NotEqual_SmartObjectSlotHandleSmartObjectSlotHandle | ( | FSmartObjectSlotHandle | A, |
| FSmartObjectSlotHandle | B ) |
Returns true if SmartObjectSlotHandle A is NOT equal to SmartObjectSlotHandle B (A != B).
Removes from the simulation all smart objects for multiple actors.
| SmartObjectActors | The actors containing the smart objects to remove from the simulation |
| bool RemoveSmartObject | ( | AActor | SmartObjectActor | ) |
Removes from the simulation all smart objects for an actor.
| SmartObjectActor | The actor containing the smart objects to add or remove from the simulation |
| void SetBlackboardValueAsSOClaimHandle | ( | UBTNode | NodeOwner, |
| FBlackboardKeySelector | Key, | ||
| FSmartObjectClaimHandle | Value ) |
Marks all smart objects for a list of actors as enabled or not according to 'bEnabled'. A smart object marked as Enabled is available for queries.
| SmartObjectActors | The actors containing the smart objects to enable/disable |
| bEnabled | Whether the smart objects should be in the simulation (added) or not (removed) |
| bool SetSmartObjectEnabled | ( | AActor | SmartObjectActor, |
| bool | bEnabled ) |
Marks all smart objects for an actor as enabled or not according to 'bEnabled'. A smart object marked as Enabled is available for queries.
| SmartObjectActor | The actor containing the smart objects to enable/disable |
| bEnabled | Whether the smart objects should be enabled or not |
| void SetValueAsSOClaimHandle | ( | UBlackboardComponent | BlackboardComponent, |
| FName | KeyName, | ||
| FSmartObjectClaimHandle | Value ) |
| FSmartObjectClaimHandle SmartObjectClaimHandle_Invalid | ( | ) |
Returns the invalid smart object claim handle.