Class CheatManager
Cheat Manager is a central blueprint to implement test and debug code and actions that are not to ship with the game.
Inherited Members
Namespace: UE4.Engine
Assembly: UE4DotNet.dll
Syntax
public class CheatManager : UObject
Remarks
As the Cheat Manager is not instanced in shipping builds, it is for debugging purposes only
Properties
| Improve this Doc View SourceDebugCameraControllerClass
Debug camera - used to have independent camera without stopping gameplay
Declaration
public SubclassOf<DebugCameraController> DebugCameraControllerClass { get; }
Property Value
Type | Description |
---|---|
SubclassOf<DebugCameraController> |
DebugCameraControllerRef
Debug camera - used to have independent camera without stopping gameplay
Declaration
public DebugCameraController DebugCameraControllerRef { get; set; }
Property Value
Type | Description |
---|---|
DebugCameraController |
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static CheatManager DefaultObject { get; }
Property Value
Type | Description |
---|---|
CheatManager |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceChangeSize(Single)
Scale the player's size to be F * default size.
Declaration
public void ChangeSize(float F)
Parameters
Type | Name | Description |
---|---|---|
System.Single | F |
DamageTarget(Single)
Damage the actor you're looking at (sourced from the player).
Declaration
public void DamageTarget(float DamageAmount)
Parameters
Type | Name | Description |
---|---|---|
System.Single | DamageAmount |
DestroyTarget()
Destroy the actor you're looking at.
Declaration
public void DestroyTarget()
DisableDebugCamera()
Switch controller from debug camera back to normal controller
Declaration
public void DisableDebugCamera()
EnableDebugCamera()
Switch controller to debug camera without locking gameplay and with locking local player controller input
Declaration
public void EnableDebugCamera()
Fly()
Pawn can fly.
Declaration
public void Fly()
FreezeFrame(Single)
Pause the game for Delay seconds.
Declaration
public void FreezeFrame(float Delay)
Parameters
Type | Name | Description |
---|---|---|
System.Single | Delay |
Ghost()
Pawn no longer collides with the world, and can fly
Declaration
public void Ghost()
God()
Invulnerability cheat.
Declaration
public void God()
New(UObject, Name)
Spawn an object of this class
Declaration
public static CheatManager New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
CheatManager |
PlayersOnly()
Freeze everything in the level except for players.
Declaration
public void PlayersOnly()
Slomo(Single)
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.
Declaration
public void Slomo(float NewTimeDilation)
Parameters
Type | Name | Description |
---|---|---|
System.Single | NewTimeDilation |
Teleport()
Teleport to surface player is looking at.
Declaration
public void Teleport()
Walk()
Return to walking movement mode from Fly or Ghost cheat.
Declaration
public void Walk()
Events
| Improve this Doc View SourceReceiveEndPlay
This is the End Play event for the CheatManager
Declaration
public event CheatManager.ReceiveEndPlay_delegate ReceiveEndPlay
Event Type
Type | Description |
---|---|
CheatManager.ReceiveEndPlay_delegate |
ReceiveInitCheatManager
BP implementable event for when CheatManager is created to allow any needed initialization.
Declaration
public event CheatManager.ReceiveInitCheatManager_delegate ReceiveInitCheatManager
Event Type
Type | Description |
---|---|
CheatManager.ReceiveInitCheatManager_delegate |
Operators
| Improve this Doc View SourceImplicit(IntPtr to CheatManager)
Convert from IntPtr to UObject
Declaration
public static implicit operator CheatManager(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
CheatManager |