|
G1R AngelScript
Scripting reference for the Gothic 1 Remake
|
Cheat Manager is a central blueprint to implement test and debug code and actions that are not to ship with the game. As the Cheat Manager is not instanced in shipping builds, it is for debugging purposes only. More...
Public Member Functions | |
Functions | |
| void | ServerToggleAILogging () |
| void | InitCheatManager () |
| BP implementable event for when CheatManager is created to allow any needed initialization. | |
| void | EndPlay () |
| This is the End Play event for the CheatManager. | |
| 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 | |
Debug Camera | |
| TSubclassOf< ADebugCameraController > | DebugCameraControllerClass |
| Debug camera - used to have independent camera without stopping gameplay. | |
| 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 |
Cheat Manager | |
| const APlayerController | PlayerController |
| void | God () |
| Invulnerability cheat. | |
| void | DamageTarget (float32 DamageAmount) |
| Damage the actor you're looking at (sourced from the player). | |
| void | DestroyTarget () |
| Destroy the actor you're looking at. | |
| void | DisableDebugCamera () |
| Switch controller from debug camera back to normal controller. | |
| void | EnableDebugCamera () |
| Switch controller to debug camera without locking gameplay and with locking local player controller input. | |
| void | Fly () |
| Pawn can fly. | |
| void | FreezeFrame (float32 Delay) |
| Pause the game for Delay seconds. | |
| APlayerController | GetPlayerController () const |
| void | Ghost () |
| Pawn no longer collides with the world, and can fly. | |
| void | ChangeSize (float32 F) |
| Scale the player's size to be F * default size. | |
| void | PlayersOnly () |
| Freeze everything in the level except for players. | |
| void | Teleport () |
| Teleport to surface player is looking at. | |
| void | Slomo (float32 NewTimeDilation) |
| Modify time dilation to change apparent speed of passage of time. e.g. "Slomo 0.1" makes everything move very slowly, while "Slomo 10" makes everything move very fast. | |
| void | Walk () |
| Return to walking movement mode from Fly or Ghost cheat. | |
Cheat Manager is a central blueprint to implement test and debug code and actions that are not to ship with the game. As the Cheat Manager is not instanced in shipping builds, it is for debugging purposes only.
| void ChangeSize | ( | float32 | F | ) |
Scale the player's size to be F * default size.
| void DamageTarget | ( | float32 | DamageAmount | ) |
Damage the actor you're looking at (sourced from the player).
| void DestroyTarget | ( | ) |
Destroy the actor you're looking at.
| void DisableDebugCamera | ( | ) |
Switch controller from debug camera back to normal controller.
| void EnableDebugCamera | ( | ) |
Switch controller to debug camera without locking gameplay and with locking local player controller input.
| void EndPlay | ( | ) |
This is the End Play event for the CheatManager.
| void Fly | ( | ) |
Pawn can fly.
| void FreezeFrame | ( | float32 | Delay | ) |
Pause the game for Delay seconds.
| APlayerController GetPlayerController | ( | ) | const |
| void Ghost | ( | ) |
Pawn no longer collides with the world, and can fly.
| void God | ( | ) |
Invulnerability cheat.
| void InitCheatManager | ( | ) |
BP implementable event for when CheatManager is created to allow any needed initialization.
| void PlayersOnly | ( | ) |
Freeze everything in the level except for players.
| void ServerToggleAILogging | ( | ) |
| void Slomo | ( | float32 | NewTimeDilation | ) |
Modify time dilation to change apparent speed of passage of time. e.g. "Slomo 0.1" makes everything move very slowly, while "Slomo 10" makes everything move very fast.
|
static |
| void Teleport | ( | ) |
Teleport to surface player is looking at.
| void Walk | ( | ) |
Return to walking movement mode from Fly or Ghost cheat.
| TSubclassOf<ADebugCameraController> DebugCameraControllerClass |
Debug camera - used to have independent camera without stopping gameplay.
| const APlayerController PlayerController |