Difference between revisions of "IniWriteFloat"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Speedo
(New page: {{Beta}} A command for Pluggy. '''Syntax:''' IniWriteFloat FileStringID:long SectionStringID:long KeyStringID:long Value:float Writes the Value associated with ''...)
 
imported>Speedo
Line 7: Line 7:


Writes the Value associated with ''Key'' in the ''Section'' of ''File''.
Writes the Value associated with ''Key'' in the ''Section'' of ''File''.
*If the file, section or key does not exist, it will be created.
*There may be a small margin of error between what the float value shows in-game and how it is saved in the file, Eg 983.789 may be saved as 983.78899102525.  See [[Floating Point]].


[[Category: Functions (Pluggy)]]
[[Category: Functions (Pluggy)]]
[[Category: File Functions (Pluggy)]]
[[Category: File Functions (Pluggy)]]

Revision as of 21:06, 26 February 2008


A command for Pluggy.

Syntax:

IniWriteFloat FileStringID:long SectionStringID:long KeyStringID:long Value:float

Writes the Value associated with Key in the Section of File.

  • If the file, section or key does not exist, it will be created.
  • There may be a small margin of error between what the float value shows in-game and how it is saved in the file, Eg 983.789 may be saved as 983.78899102525. See Floating Point.