Difference between revisions of "IsPluginInstalled - Game"

209 bytes added ,  20:25, 26 March 2017
m
→‎Notes: Documented a bug in the function.
imported>Plplecuyer
 
imported>Docclox
m (→‎Notes: Documented a bug in the function.)
 
Line 27: Line 27:
*Uninstalling plugins and resuming from a save that had the plugin installed is '''not supported'''. If a plugin is uninstalled, the user must revert back to using a save from before the plugin's installation.
*Uninstalling plugins and resuming from a save that had the plugin installed is '''not supported'''. If a plugin is uninstalled, the user must revert back to using a save from before the plugin's installation.
*The installed plugin list can change between any two lines of your script, since the game can save, exit, and have a plugin activated before then having the save game loaded and resume running your script. So unless you have to, it is best not to just check once and assume the return value is correct forever. You may want to interact with [[OnPlayerLoadGame - Actor|OnPlayerLoadGame]] to update whether a mod is installed or not
*The installed plugin list can change between any two lines of your script, since the game can save, exit, and have a plugin activated before then having the save game loaded and resume running your script. So unless you have to, it is best not to just check once and assume the return value is correct forever. You may want to interact with [[OnPlayerLoadGame - Actor|OnPlayerLoadGame]] to update whether a mod is installed or not
*There is a bug with this function, in that if you uninstall a mod using the in-game mod menu and re-load a saved game without first quitting and restarting the game, IsPluginInstalled will still return TRUE.


== See Also ==
== See Also ==
Anonymous user