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
(Graduating from beta)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Beta}}
A command for [[:Category: Pluggy|Pluggy]].
A command for [[:Category: Pluggy|Pluggy]].


Line 7: Line 5:


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]].
==See Also==
*[[Pluggy INI Files]]


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

Latest revision as of 20:37, 25 March 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.

See Also[edit | edit source]