Difference between revisions of "IniWriteFloat"
Jump to navigation
Jump to search
imported>Speedo |
imported>Speedo (ini files link) |
||
Line 10: | Line 10: | ||
*If the file, section or key does not exist, it will be created. | *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]]. | *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)]] |
Revision as of 18:09, 1 March 2008
Beta Function
This function has not been fully tested yet, and is not ready to be used in a released mod. It may not have the same function in later versions, may require the script to be recompiled, or simply may be removed. Use for testing purposes only until the author of the function says otherwise.
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.