Difference between revisions of "SetGameSettingFloat - Game"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Qazaaq
(added f4se member)
 
imported>Qazaaq
(added notes and descriptions)
Line 3: Line 3:
{{Template:Papyrus:RequiredF4SE|version=0.3.2}}
{{Template:Papyrus:RequiredF4SE|version=0.3.2}}


Placeholder Description.
Sets the float value of a [[Game Setting]].  


== Syntax ==
== Syntax ==
Line 11: Line 11:


== Parameters ==
== Parameters ==
*asSetting: Placeholder Description.
*asSetting: The setting name and section.
*afValue: Placeholder Description.
*afValue: The new value to use.


== Return Value ==
== Return Value ==
Line 19: Line 19:
== Examples ==
== Examples ==
<source lang="papyrus">
<source lang="papyrus">
; Placeholder Code.
Utility.SetINIFloat("fDefault1stPersonFOV:Display", 100.0)
</source>
</source>
== Notes ==
*Changes to INI settings require including the section that the setting is in.


== See Also ==
== See Also ==

Revision as of 21:55, 21 December 2018

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.

Sets the float value of a Game Setting.

Syntax

Function SetGameSettingFloat(string asSetting, float afValue) Native Global

Parameters

  • asSetting: The setting name and section.
  • afValue: The new value to use.

Return Value

  • None

Examples

Utility.SetINIFloat("fDefault1stPersonFOV:Display", 100.0)

Notes

  • Changes to INI settings require including the section that the setting is in.

See Also