|
G1R AngelScript
Scripting reference for the Gothic 1 Remake
|
Functions | |
Player | |
| APlayerController | GetLocalPlayerController () |
Functions | |
| void | GetArmorOreCost (FGameplayTag _ArmorTag, int &_OreCost) |
| void | GetAttributeDisplayText (FGameplayAttribute _GameplayAttribute, FText &_DisplayName, FText &_Description) |
| Returns the display name and description for the given gameplay attribute. | |
| FText | GetChapterHeadline (int _ChapterNumber) |
| Returns the headline of the given chapter (chapter number + title). | |
| FText | FormatNumberSI (int _Number) |
| Formats a number using SI prefixes. | |
| FText | GetChapterTitle (int _ChapterNumber) |
| Returns the display name of the given chapter. | |
| FSlateBrush | GetCurrentEnhancedInputActionIcon (const ULocalPlayer _LocalPlayer, const UInputAction _InputAction) |
| Returns the proper icon brush for the given input action for the current input device of the given local player. | |
| FSlateBrush | GetCurrentInputActionIcon (const ULocalPlayer _LocalPlayer, FDataTableRowHandle _DataTableRowHandle) |
| Returns the proper icon brush for the given input action for the current input device of the given local player. | |
| bool | BrushIsEmpty (FSlateBrush _Brush) |
| Returns true if the DrawAs type of the given brush is None. | |
| void | GetLearningSkillTooltipText (FGameplayTag _SkillTag, TArray< FText > &_SkillDescriptions) |
| Returns an array of "learning descriptions" for a given skill tag. | |
| void | GetGameplayTagDisplayText (FGameplayTag _GameplayTag, FText &_DisplayName, FText &_Description) |
| Returns the display name and description for the given gameplay tag. | |
| FGameplayTag | GetOwnedSkillMastery (const AActor _Owner, FGameplayTag _SkillTag) |
| void | GetSkillLPCost (const AGothicCharacterState CharacterState, FGameplayTag _SkillTag, int &_LPCost) |
| void | GetSkillOreCost (FGameplayTag _SkillTag, int &_OreCost) |
| void | GetSkillTagDisplayText (FGameplayTag _SkillTag, FText &_DisplayName, FText &_Description, FText &_MasteryDisplayName, FText &_MasteryDescription, int &_MasteryLevel) |
| Returns the display name and description for the given skill gameplay tag. Extracts the mastery level in [0..2] for skills with a mastery level and -1 for others. | |
| bool | TryGetCurrentKeyIcon (FSlateBrush &_IconBrush, const ULocalPlayer _LocalPlayer, FKey _Key) |
| Returns the proper icon brush for the given key for the current input device of the given local player. | |
| void | Viewport_SetMousePosition (const APlayerController ThePC, const float32 &PosX, const float32 &PosY) |
| bool BrushIsEmpty | ( | FSlateBrush | _Brush | ) |
Returns true if the DrawAs type of the given brush is None.
| FText FormatNumberSI | ( | int | _Number | ) |
Formats a number using SI prefixes.
| void GetArmorOreCost | ( | FGameplayTag | _ArmorTag, |
| int & | _OreCost ) |
| void GetAttributeDisplayText | ( | FGameplayAttribute | _GameplayAttribute, |
| FText & | _DisplayName, | ||
| FText & | _Description ) |
Returns the display name and description for the given gameplay attribute.
| FText GetChapterHeadline | ( | int | _ChapterNumber | ) |
Returns the headline of the given chapter (chapter number + title).
| FText GetChapterTitle | ( | int | _ChapterNumber | ) |
Returns the display name of the given chapter.
| FSlateBrush GetCurrentEnhancedInputActionIcon | ( | const ULocalPlayer | _LocalPlayer, |
| const UInputAction | _InputAction ) |
Returns the proper icon brush for the given input action for the current input device of the given local player.
| FSlateBrush GetCurrentInputActionIcon | ( | const ULocalPlayer | _LocalPlayer, |
| FDataTableRowHandle | _DataTableRowHandle ) |
Returns the proper icon brush for the given input action for the current input device of the given local player.
| void GetGameplayTagDisplayText | ( | FGameplayTag | _GameplayTag, |
| FText & | _DisplayName, | ||
| FText & | _Description ) |
Returns the display name and description for the given gameplay tag.
| void GetLearningSkillTooltipText | ( | FGameplayTag | _SkillTag, |
| TArray< FText > & | _SkillDescriptions ) |
Returns an array of "learning descriptions" for a given skill tag.
| APlayerController GetLocalPlayerController | ( | ) |
| FGameplayTag GetOwnedSkillMastery | ( | const AActor | _Owner, |
| FGameplayTag | _SkillTag ) |
| void GetSkillLPCost | ( | const AGothicCharacterState | CharacterState, |
| FGameplayTag | _SkillTag, | ||
| int & | _LPCost ) |
| void GetSkillOreCost | ( | FGameplayTag | _SkillTag, |
| int & | _OreCost ) |
| void GetSkillTagDisplayText | ( | FGameplayTag | _SkillTag, |
| FText & | _DisplayName, | ||
| FText & | _Description, | ||
| FText & | _MasteryDisplayName, | ||
| FText & | _MasteryDescription, | ||
| int & | _MasteryLevel ) |
Returns the display name and description for the given skill gameplay tag. Extracts the mastery level in [0..2] for skills with a mastery level and -1 for others.
| bool TryGetCurrentKeyIcon | ( | FSlateBrush & | _IconBrush, |
| const ULocalPlayer | _LocalPlayer, | ||
| FKey | _Key ) |
Returns the proper icon brush for the given key for the current input device of the given local player.
| void Viewport_SetMousePosition | ( | const APlayerController | ThePC, |
| const float32 & | PosX, | ||
| const float32 & | PosY ) |