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