In my game in some events need to lower the number of frames per second, for example to 10 fps. Is there any way to do this?
There’s a console command for that:
t.MaxFPS (Value) → Caps FPS to the given value. Set to <= 0 to be uncapped.
example:
t.MaxFPS 10
Yeah…that’s the proper way.
large for loops will do it too.
Thank you - I need a blueprint so that I can call whenever I want when an event occurs. For example, when a trigger crosses
I’m curious, why do you want to limit fps based on gameplay events? Are you sure you are not looking for something else like global time dilation?
there is a node for execute a console command. you just put the same text into it. Fire from whatever event that you want.
I really would use @pladux Idea of using time diletation…
manipulating the fps for a slowMo / Bullet Time effect is really bad practice and break physics and frame based operations…
Hah yeah OP what is the use case? Besides debug testing your game at lower FPS I cannot think of a legit reason to manipulate FPS at run time.
AFAIK manually manipulating FPS isn’t reliable anyway because most video card settings panels have ways to override what the apps request.