Jump to content

A script to run a console command.


Recommended Posts

In your game .ini there should be a line you can add which runs a list of console commands when the game loads. At least that works in FO4 so I can't confirm Skyrim.

 

However check this thread, you can make your own .bat file and have it run every time http://forums.nexusmods.com/index.php?/topic/628551-a-way-to-make-console-commands-permanent/

Link to comment
Share on other sites

It is possible; if you have the right function name that corresponds to the console code then you can run it through a script, there may be some that you can't but all the ones that I've needed has a function counterpart. Which command do you need for a script?

Link to comment
Share on other sites

That's a little different than what I was thinking about but if the LOD is in an INI file then you might be able to use a command like this:

 

SetINIBool

 

just make sure you have a way to reverse it encase someone wants to uninstall the mod. Other than that I know that other commands like Kill, TGM, and TCL have scripting counterparts. I'll look to see if I find one for TLL.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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