武装突袭 Wiki
Advertisement
VBS2 references on this site are not maintained anymore, and may be outdated!
Please use the new, dedicated VBS2 Wiki instead:
Direct link to Fn_vbs_getInheritedCfg

Notes

Any notes that may have been added whilst this documentation was supported on this page, may be seen below.

Any discussions about this function may be seen on the forums.

Please do not add new notes or start new discussions here.

Notes

See the notes of the count command. By changing the example to use this function, the limitations listed in count example can be avoided:
_cfg = (configFile >> "CfgVehicles" >> "myclass") call fn_vbs_getInheritedCfg;
for _i from 0 to (count _cfg)-1 do
{
   _nextValue = _cfg select _i;
   ...do some stuff
};

Note: the same results as this function can be achieved using the following command:

"true" configClasses (configFile >> "CfgVehicles" >> "myclass")

--General Barron 02:07, 3 March 2009 (CET)

Bottom Section

Advertisement