ReferenceEnvironment

setfflag

Sets an engine fast flag for the current session.

Syntax

setfflag(name: string, value: string) -> ()

Also available as

set_fflag

Parameters

ParameterTypeDescription
namestringThe fast flag's name, without a prefix.
valuestringThe new value as text, such as "true" or "60".

Description

The change lasts until the game client exits. Many flags are read once at startup or when a system first starts, so changing them later may have no visible effect until that system next reads the flag.

Example

setfflag("TaskSchedulerTargetFps", "144")
print(getfflag("TaskSchedulerTargetFps"))

Notes

These are Game executor contracts. Check build requirements and session lifetimes before using them.