The script command "isKindOf" is pretty useful but it would be nice to check other configs like CfgWeapons with it. At the moment it returns false when used with CfgWeapons even if the class is present.
Description
Description
Details
Details
- Legacy ID
- 4247942932
- Severity
- None
- Resolution
- Fixed
- Reproducibility
- N/A
- Category
- Scripting
Steps To Reproduce
check = "arifle_MX_F" isKindOf "Rifle";
hint format["%1", check];
-> check is false even though the MX Rifle is a subclass of "Rifle"
Event Timeline
Comment Actions
while there are a few other simple ways of checking this, it would be handy if isKindOf and TypeOf worked on most configs