Difference between revisions of "getText"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
m
Line 10: Line 10:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| '''getText''' config |= Syntax
+
| [[String]] <nowiki>=</nowiki> '''getText''' config |= Syntax
 
|p1 = config: [[Config]]
 
|p1 = config: [[Config]]
 
| [[String]] |= Return value
 
| [[String]] |= Return value
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
|x1 = <code> _array <nowiki>=</nowiki> '''getText''' (configFile >> "CfgVehicles" >> "Thing" >> "icon")  </code>
+
|x1 = <code> __text <nowiki>=</nowiki> '''getText''' (configFile >> "CfgVehicles" >> "Thing" >> "icon")  </code>
  
 
| [[configFile]], [[config/name]], [[configName]], [[count config]], [[getArray config]], [[getNumber config]], [[inheritsFrom config]], [[isArray config]], [[isClass config]], [[isNumber config]], [[isText config]], [[select config]] |= See also
 
| [[configFile]], [[config/name]], [[configName]], [[count config]], [[getArray config]], [[getNumber config]], [[inheritsFrom config]], [[isArray config]], [[isClass config]], [[isNumber config]], [[isText config]], [[select config]] |= See also

Revision as of 01:57, 27 August 2007

Introduced with Armed Assault version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Armed Assault
Version:
1.00

Description

Description:
Extract text from config entry.

Syntax

Syntax:
String = getText config
Parameters:
config: Config
Return Value:
String

Examples

Example 1:
__text = getText (configFile >> "CfgVehicles" >> "Thing" >> "icon")

Additional Information

Multiplayer:
-
See also:
configFileconfig/nameconfigNamecount configgetArray configgetNumber configinheritsFrom configisArray configisClass configisNumber configisText configselect config

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section