SetGameSettingBool - Game

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
This article has been flagged as incomplete.
Please help improve the wiki by learning how to contribute.

F4SE Member of: Game Script
Requires F4SE version 0.3.2 or higher.

This function sets a Game Setting to the specified value.

These include all the variables listed under Gameplay->Settings menu in the creation kit, but *does not* include variables set in the ini files. To set ini variables see SetINIBool.

Syntax[edit | edit source]

Function SetGameSettingBool(string asSetting, bool abValue) Native Global

Parameters[edit | edit source]

  • asSetting: Placeholder Description.
  • abValue: Placeholder Description.

Return Value[edit | edit source]

  • None

Examples[edit | edit source]

;Disables blinking while talking.
Game.SetGameSettingBool("bAllowBlinksDuringSpeech", false)

See Also[edit | edit source]