Difference between revisions of "IniReadFloat"
Jump to navigation
Jump to search
imported>Speedo (New page: {{Beta}} A command for Pluggy. '''Syntax:''' <pre> (Value:float) IniReadFloat FileStringID:long SectionStringID:long KeyStringID:long De...) |
imported>Speedo |
||
Line 11: | Line 11: | ||
Note: All arguments should be on the same line. | Note: All arguments should be on the same line. | ||
Finds the specified Key in an Ini file and returns its Value. | Finds the specified Key in an Ini file and returns its Value as a float. | ||
*If the Key is not found, DefaultValue is returned. | *If the Key is not found, DefaultValue is returned. |
Revision as of 15:22, 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:
(Value:float) IniReadFloat FileStringID:long SectionStringID:long KeyStringID:long DefaultValue:float
Note: All arguments should be on the same line.
Finds the specified Key in an Ini file and returns its Value as a float.
- If the Key is not found, DefaultValue is returned.