Jump to content

Is there any way to check which scripts my script is using?


Recommended Posts

Currently importing these:

Import StringUtil
Import UI
Import Utility
Import Math
Import Debug
Import Game

I guess i've used them in some point of the development of the script so i added to the import list, but i'm not 100% sure i'm using functions of everyone of them in the latest version. Any way to clean that without going function by function?

Do they actually do any harm, as in, when the game reads that does it load anything it may not need to load or it just says like "ok, i'll keep it in mind, when i cant find a function later on i'll look in those"?

 

Edited because i cannot write english without mistakes...

Edited by FrankFamily
Link to comment
Share on other sites

As I understand it, import is just for your own convenience and has no effect on the final compiled script.

 

There is no need to go function by function. Just comment out the imports line by line and recompile. The compiler will let you know if it couldn't find a function and then you will know that script is in use.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...