Difference between revisions of "configFile"

From Bohemia Interactive Community
Jump to navigation Jump to search
(Added example for configFile.)
m
Line 15: Line 15:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
|x1= <pre>isClass(configFile/"CfgPatches"/"MyClass")</pre> |= Example 1
+
|x1= <pre>isMyClassActive = isClass(configFile/"CfgPatches"/"MyClass");</pre> |= Example 1
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  

Revision as of 16:05, 6 July 2010

Introduced with Armed Assault version 1.001.00
Hover & click on the images for descriptions

Description

Description:
Return root of config entries hierarchy.

Syntax

Syntax:
Config = configFile
Return Value:
Config

Examples

Example 1:
isMyClassActive = isClass(configFile/"CfgPatches"/"MyClass");

Additional Information

See also:
missionConfigFilecampaignConfigFileconfig/nameconfig >> nameconfigNamecountgetArraygetTextgetNumberinheritsFromisArrayisClassisNumberisTextselect

Notes

i
Only post proven facts here. Report bugs on the feedback tracker. Use the Talk page or the Forums for discussions.

Notes

Bottom Section