SetGameSettingInt - Game

Revision as of 13:35, 23 December 2018 by imported>Mr Stealyogir (Added Description and example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 SetINIInt.

SyntaxEdit

Function SetGameSettingInt(string asSetting, int aiValue) Native Global

ParametersEdit

  • asSetting: Placeholder Description.
  • aiValue: Placeholder Description.

Return ValueEdit

  • None

ExamplesEdit

; Sets the Arrow Max Count to 11
Game.SetGameSettingInt("iArrowMaxCount", 11)

See AlsoEdit