Jump to content

Make a script "use" a console command?


Recommended Posts

Good evening everybody!

 

Is there any way to get a script to "use" a console command?

 

Because I have found a console command that would be just what I need, but there is nothing like it in the papyrus scripting "language".

So would it be possible to somehow use "normal" console commands in scripts?

 

Specifically this one:

 

targetID.ToggleControlsDriven

 

It makes the player "control" the selected NPC.

And there is no other was to do this.

(setPlayerControls does not work)

 

Please, if you know anything about this, let me know here.

 

I know that I already asked this in anohter topic, but I thougt I'd make this specific question a separate topic, because this is just about that specific question, not the general concept of what I am trying to do ("Multiple playable characters").

Link to comment
Share on other sites

Looks like SetPlayerControls(True) would be your best bet. If that's not working, I know there's a mod called ConsoleUtil for Skyrim Special Edition that does what you're describing: https://www.nexusmods.com/skyrimspecialedition/mods/24858. Maybe you can ask the author to help you port it to Fo4.

I don't have Skyrim SE, so I guess I can't really "work" with that ...

But I will have a look at it anyway ...

 

(Looks at it)

 

Ok, there is some simple script stuff, but not much actual scripting, how does this mod ....

 

(Looks at the ScriptExtenderPlugin stuff)

 

.... oh ....

Well. looks like I'll have something to do for the next decade ...

Link to comment
Share on other sites

  • Recently Browsing   0 members

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