"true"/"false" (in any case) and "1"/"0" are accepted. Text flags are read-only here and cannot be set.
Parameters
string
required
The flag name.
string
required
The value to set, as a string.
Example
Errors
Related
getfflag: read one.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Write an engine fast flag.
setfflag(name: string, value: string) -> ()
"true"/"false" (in any case) and "1"/"0" are accepted. Text flags are read-only here and cannot be set.
setfflag("DebugGraphicsPreferD3D11", "True")
| Message | Condition |
|---|---|
no engine flag by that name | No flag with that name exists. |
text flags are read-only here | The flag is a text flag. |
that value does not fit the flag | The value could not be parsed for the flag type. |
getfflag: read one.