GetGameSettingString - Game

From the Fallout4 CreationKit Wiki
Revision as of 13:19, 3 December 2015 by imported>Plplecuyer
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Game Script

Obtains the value of the specified string game setting

Syntax[edit | edit source]

string Function GetGameSettingString(string asGameSetting) native global

Parameters[edit | edit source]

  • asGameSetting: The name of the setting to get.

Return Value[edit | edit source]

None.

Examples[edit | edit source]

; Print out the value of a game setting to the log
Debug.Trace("sMySetting = " + Game.GetGameSettingString("sMySetting"))

See Also[edit | edit source]