boolean IPS_IsModuleCompatible (string $ModuleID, string $ParentModuleID)
ModuleID | ID of the potential child module |
ParentModuleID | ID of the potential parent module |
TRUE if the modules are compatible, otherwise FALSE. |
The command determines if the module with the ID ParentModuleID is a valid parent to the module with the ID ModuleID.
if (IPS_IsModuleCompatible("{48FCFDC1-11A5-4309-BB0B-A0DB8042A969}", "{57040540-4432-4220-8D2D-4676B57E223D}")) echo "FS20 module is compatible to the FHZ module!";