Plugin:OpenScript() does not work for ModuleScripts

Plugin method bug:

The Plugin method, OpenScript(scriptInstance [, lineNumber]) does not open ModuleScripts. No errors are shown. If you try to open up a non-script object (such as a Model) you get an error. Therefore, I assume it is supposed to work on ModuleScripts. Nothing happens though.

Easy to repro. Just use a plugin and try it on Scripts, LocalScripts, ModuleScripts, and non-scripts. Scripts and LocalScripts work, ModuleScripts do not.

o.o we have that

That’d be nice to have on module scripts though.

[quote] o.o we have that

That’d be nice to have on module scripts though. [/quote]

Yeah. On the Wiki pages, you have to click ‘Show Hidden Stuff’ (or something like that) to view those properties. Lots of neat things plugins can do.

[tt]Plugin:OpenScript[/tt] now works on ModuleScripts. Kudos to whoever fixed it.

Sweet, thanks for posting about this. Forgot about this issue. Great to know it’s working now!