SetINIInt - Utility

From the CreationKit Wiki
Revision as of 15:16, 26 October 2011 by imported>Jlundin (Created page with "Category:Scripting Category:Papyrus '''Member of:''' Utility Script Sets an integer INI setting's value. == Syntax == <source lang="papyrus"> Function SetINIInt(str...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Utility Script

Sets an integer INI setting's value.

Syntax

Function SetINIInt(string ini, int value) native global

Parameters

  • ini: The ini setting to set
  • value: The value to give it

Return Value

None

Examples

; Set the "iRandomSetting" in the "[CoolSettings]" section to 5
Utility.SetINIInt("iRandomSetting:CoolSettings", 5)

See Also