isClass: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Dr Eyeball (talk | contribs) m (Arma2 category) |
||
Line 37: | Line 37: | ||
[[Category:Scripting Commands|ISCLASSCONFIG]] | [[Category:Scripting Commands|ISCLASSCONFIG]] | ||
[[Category:Scripting Commands ArmA|ISCLASSCONFIG]] | [[Category:Scripting Commands ArmA|ISCLASSCONFIG]] | ||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Command_Group:_System_Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_System_Commands|{{uc:{{PAGENAME}}}}]] |
Revision as of 02:00, 22 June 2009
Description
- Description:
- Check if config entry represents config class.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_ok = isClass (configFile >> "CfgVehicles")
Result is true
Additional Information
- See also:
- configFileconfig/nameconfigNamecount configgetArray configgetText configgetNumber configinheritsFrom configisArray configisNumber configisText configselect config
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
Notes
- Posted on March 2, 2007 - 01:17
- Kronzky
- This command allows you to check for the presence of an addon. isClass (configFile >> "cfgVehicles" >> "MyCustomCar") will return true if the addon "MyCustomCar" is installed, and false if it is not installed. You will have to know under which class the addon is categorized (in this case "cfgVehicles") to be able to use the right config path.