|
G1R AngelScript
Scripting reference for the Gothic 1 Remake
|
Public Member Functions | |
Functions | |
| FColor | GetSpellColor () const |
| void | ChangeCameraBehaviour_Scriptable (bool moving) |
| FCameraBehaviour | GetCameraBehaviour () const |
| ESpellManaUsage | GetManaUsage () const |
| FName | GetSpawnLocationSocketName () const |
| float32 | GetSpellAreaAngle () const |
| float32 | GetSpellAreaRange () const |
| FGameplayTag | GetSpellCategoryTag () const |
| TSubclassOf< UScriptGameplayAbility > | GetSpellClass (int SpellLevel=0) const |
| void | AddSpellLevel (float32 NewCastManaCost, float32 NewCastTime, float32 NewManaCostSc, TSubclassOf< UScriptGameplayAbility > SpellClass, TSubclassOf< USpellConfigLevelData > SpellConfigLevelData=nullptr) |
| Adds a spell level to the spell configuration. Once casting a spell it will start from first spell level and if player continues progressing the spell (maintaining the attack button pressed) will change to the next spell level and so on. With different spell levels we can increase the spell power for each level and attach new visuals to it. Refer to Fireball as a case with more than one spell level. | |
| TSubclassOf< USpellConfigLevelData > | GetSpellConfigLevelData (int SpellLevel=0) const |
| const FSpellLevelRange & | GetSpellLevel (int SpellLevel=0) const |
| int | GetSpellLevels () const |
| int | GetSpellLevels_Scriptable () const |
| ESpellTargetType | GetSpellTargetType () const |
| float32 | GetTimePercentageFromWhichCantCancelSpell () const |
| bool | IsTargetReachable_Scriptable (const AGothicCharacter instigator, const AGothicCharacter target) 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 UClass | StaticClass () |
| Static Public Member Functions inherited from UGothicBaseConfig | |
| static UClass | StaticClass () |
| Static Public Member Functions inherited from UObject | |
| static UClass | StaticClass () |
| void AddSpellLevel | ( | float32 | NewCastManaCost, |
| float32 | NewCastTime, | ||
| float32 | NewManaCostSc, | ||
| TSubclassOf< UScriptGameplayAbility > | SpellClass, | ||
| TSubclassOf< USpellConfigLevelData > | SpellConfigLevelData = nullptr ) |
Adds a spell level to the spell configuration. Once casting a spell it will start from first spell level and if player continues progressing the spell (maintaining the attack button pressed) will change to the next spell level and so on. With different spell levels we can increase the spell power for each level and attach new visuals to it. Refer to Fireball as a case with more than one spell level.
| void ChangeCameraBehaviour_Scriptable | ( | bool | moving | ) |
| FCameraBehaviour GetCameraBehaviour | ( | ) | const |
| ESpellManaUsage GetManaUsage | ( | ) | const |
| FName GetSpawnLocationSocketName | ( | ) | const |
| float32 GetSpellAreaAngle | ( | ) | const |
| float32 GetSpellAreaRange | ( | ) | const |
| FGameplayTag GetSpellCategoryTag | ( | ) | const |
| TSubclassOf< UScriptGameplayAbility > GetSpellClass | ( | int | SpellLevel = 0 | ) | const |
| FColor GetSpellColor | ( | ) | const |
| TSubclassOf< USpellConfigLevelData > GetSpellConfigLevelData | ( | int | SpellLevel = 0 | ) | const |
| const FSpellLevelRange & GetSpellLevel | ( | int | SpellLevel = 0 | ) | const |
| int GetSpellLevels | ( | ) | const |
| int GetSpellLevels_Scriptable | ( | ) | const |
| ESpellTargetType GetSpellTargetType | ( | ) | const |
| float32 GetTimePercentageFromWhichCantCancelSpell | ( | ) | const |
| bool IsTargetReachable_Scriptable | ( | const AGothicCharacter | instigator, |
| const AGothicCharacter | target ) const |
|
static |
| const FCameraBehaviour CameraBehaviour |
| float32 m_AreaAngle |
| float32 m_AreaRange |
| FCameraBehaviour m_CameraBehaviour |
| FColor m_Color |
| FName m_SpawnLocationSocket |
| FGameplayTag m_SpellCategoryTag |
| USpellItemAnimConfig m_SpellItemAnimConfig |
| TArray<FSpellLevelRange> m_SpellLevels |
| ESpellManaUsage m_SpellManaUsage |
How will mana be consumed? Normal, Continous, Rechargable, Target Level See wiki for more info.
| ESpellTargetType m_SpellTargetType |
How will this spell get its target?
| float32 m_TimePercentageFromWhichCantCancelSpell |
During casting time the spell can be cancelled except if casting time its above this percentage value before launch.
| const ESpellManaUsage ManaUsage |
| const FName SpawnLocationSocketName |
| const float32 SpellAreaAngle |
| const float32 SpellAreaRange |
| const FGameplayTag SpellCategoryTag |
| const FColor SpellColor |
| const int SpellLevels |
| const int SpellLevels_Scriptable |
| const ESpellTargetType SpellTargetType |
| const float32 TimePercentageFromWhichCantCancelSpell |