|
G1R AngelScript
Scripting reference for the Gothic 1 Remake
|
Public Member Functions | |
Functions | |
| bool | HasCanBeSaidNowFunction () const |
| Whether the IsApplicable function is implemented. | |
| bool | CanBeSaidNow (const AGothicCharacterState Me, const AGothicCharacterState Other, FGenericVoicelineRequestContext Context) const |
| Custom condition for this voiceline. | |
| 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 UClass | StaticClass () |
| Static Public Member Functions inherited from UObject | |
| static UClass | StaticClass () |
Public Attributes | |
GenericVoicelineDefinition | |
| float32 | Weight |
| Weight for random choices. | |
| float32 | MinRequiredWeight |
| If this Voiceline is in the considered voicelines pool, ignore weights below this. This is to control whether parent voicelines should be considered. | |
| float32 | GlobalCooldownSeconds |
| If set, this voiceline (and any children) will not be said multiple times during cooldown (realtime seconds). | |
| FString | ExampleText |
| Example text to use as fallback during development. | |
| FGameplayTag | VoicelineTag |
| Generic text ID (Hierarchical tag in format "Root.Parent.Child"). | |
| 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 |
| bool CanBeSaidNow | ( | const AGothicCharacterState | Me, |
| const AGothicCharacterState | Other, | ||
| FGenericVoicelineRequestContext | Context ) const |
Custom condition for this voiceline.
| bool HasCanBeSaidNowFunction | ( | ) | const |
Whether the IsApplicable function is implemented.
|
static |
| FString ExampleText |
Example text to use as fallback during development.
| float32 GlobalCooldownSeconds |
If set, this voiceline (and any children) will not be said multiple times during cooldown (realtime seconds).
| float32 MinRequiredWeight |
If this Voiceline is in the considered voicelines pool, ignore weights below this. This is to control whether parent voicelines should be considered.
Probability is a function of Weight multiplied by some other factors. These other factors are always <= 1.
| FGameplayTag VoicelineTag |
Generic text ID (Hierarchical tag in format "Root.Parent.Child").
| float32 Weight |
Weight for random choices.