diff --git a/Unreal-Engine-get-world-Settings.md b/Unreal-Engine-get-world-Settings.md new file mode 100644 index 0000000..fcb2c10 --- /dev/null +++ b/Unreal-Engine-get-world-Settings.md @@ -0,0 +1,14 @@ +Using dumper-7 SDK, it's possible to retrieve World settings + +# Getting World +``` +UWorld* world = UWorld::GetWorld(); +if (!world) return; +``` + +# Retrieve World settings +``` +AWorldSettings* worldSettings = world->K2_GetWorldSettings(); +if (worldSettings) + worldSettings->TimeDilation = 0.5f; // Set world time dilation half speed. This affects everything (Pawns, physics ...) +```