unreal.CheatManager
¶
- class unreal.CheatManager(outer=None, name='None')¶
Bases:
unreal.Object
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
C++ Source:
Module: Engine
File: CheatManager.h
Editor Properties: (see get_editor_property/set_editor_property)
debug_camera_controller_class
(type(Class)): [Read-Write] Debug camera - used to have independent camera without stopping gameplay
- damage_target(damage_amount) → None¶
Damage the actor you’re looking at (sourced from the player).
- Parameters
damage_amount (float) –
- property debug_camera_controller_class¶
[Read-Only] Debug camera - used to have independent camera without stopping gameplay
- enable_debug_camera() → None¶
Switch controller to debug camera without locking gameplay and with locking local player controller input
- receive_init_cheat_manager() → None¶
BP implementable event for when CheatManager is created to allow any needed initialization.