Difference between revisions of "IniWriteFloat"
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
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.