Difference between revisions of "Inter-mod Communication"
m
fixed small typo
imported>Plplecuyer |
imported>LHammonds m (fixed small typo) |
||
Line 36: | Line 36: | ||
Now that you've determined that another mod is installed, assuming you want to do something other than just call global functions they provide, you'll need to grab a form from it. You obviously cannot use a property set in the editor in your mod, because that would add a dependency between your two mods in the esp or esm itself. | Now that you've determined that another mod is installed, assuming you want to do something other than just call global functions they provide, you'll need to grab a form from it. You obviously cannot use a property set in the editor in your mod, because that would add a dependency between your two mods in the esp or esm itself. | ||
So if you do want to get a form from the mod, you'll need to know the form ID of the form you are interested in. This is typically listed in the CK. Once you have the form ID, pass it off to the [[GetFormFromFile - Game| | So if you do want to get a form from the mod, you'll need to know the form ID of the form you are interested in. This is typically listed in the CK. Once you have the form ID, pass it off to the [[GetFormFromFile - Game|GetFormFromFile]] function, along with the plugin name, to get access to the form. | ||
Example: | Example: |