getNumber config
From Bohemia Interactive Community
| Editors, please check Policy: Scripting Command Page Syntax. |
Click on the images for descriptions
Introduced in
- Game:
- Armed Assault
- Version:
- 1.00
Description
- Description:
- Extract number from config entry.
Syntax
Examples
- Example 1:
_value = getNumber (configFile >> "CfgVehicles" >> "Thing" >> "maxSpeed")
Additional Information
- Multiplayer:
- Behaviour unknown.
- See also:
- configFile, config/name, configName, count config, getArray config, getText config, inheritsFrom config, isArray config, isClass config, isNumber config, isText config, select config
Notes
Notes
Notes
- Posted on 04:45, 3 March 2007 (CET)
- Donnervogel
- use getNumber to get boolean values from a config file. 1 equals true, 0 equals false and if no value is found (when a valid variable is undefined) 0.67 is returned.

