getNumber: Difference between revisions
Jump to navigation
Jump to search
m (returns a number) |
No edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| arma |= Game name | |||
|2.35|= Game version | |||
____________________________________________________________________________________________ | |||
| Extract number from config entry. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | '''getNumber''' config |= Syntax | ||
|p1= config [[Config]] |= Parameter 1 | |||
[[Number]] | | [[Number]] |= Return value | ||
____________________________________________________________________________________________ | |||
|x1= <pre>_value = getNumber (configFile >> "CfgVehicles" >> "Thing" >> "maxSpeed")</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|GETNUMBER]] | |||
[[Category:Scripting Commands ArmA|GETNUMBER]] | |||
Revision as of 01:22, 2 August 2006
Description
- Description:
- Extract number from config entry.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_value = getNumber (configFile >> "CfgVehicles" >> "Thing" >> "maxSpeed")
Additional Information
- See also:
- See also needed
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note