How to toggle smooth frame rate with console for my menus?

Hello!

I’m currently working on some graphical settings for our game. I really like Unreal Tournaments way of giving the user the option to enable or disable smooth frame rate. But how? I can’t find any console command to use in my Blueprint that toggles Smooth Frame Rate in runtime.

Been searching for a while but couldn’t find any information about this.

Thanks in advance!

t.MaxFPS <= 0 (smooth enabled default 120fps)
r.VSync 0
t.MaxFPS > 0 target fps
But I don’t know exactly how to set smoothed framerate min / max, only in “BaseEngine.ini” or “DefaultEngine.ini”.

You can call it after level loading or use ConsoleVariables.ini like here: How do I lock the Editor to 30fps? - Programming & Scripting - Unreal Engine Forums

[/Script/Engine.Engine]
MaximumLoopIterationCount=1000000000
bUseFixedFrameRate=False
FixedFrameRate=100.000000
SmoothedFrameRateRange=(LowerBound=(Type=Inclusive,Value=100.000000),UpperBound= (Type=Exclusive,Value=100.000000))
MinDesiredFrameRate=100.000000
bSmoothFrameRate=True