FOR USE IN BAT FILES I need to deselect whatever is selected.
I know that for example prid 14
will select the player. Is there a command to deselect in this context?
prid
, prid 0
, and prid 14
again don't work.
I'm moving the player around in a custom situation. I had been using the little map flags as markers and using a bat to do player.moveto
the flag, but that has a couple problems. What I wanted to do is unprid
, tcl
, prid 14
, setpos <coords>
, unprid
… since tcl doesn't work if something is selected, I wanted to contain the entire thing from soup to nuts into a bat file.
However, I've discovered since posting this that prid
in bat files doesn't work. It's ignored. So any unprid
is likely to be as well.
What's close is to tcl
ahead of time, and without prid
just do player.setpos
which is working ok, but will eventually become problematic.
Best Answer
See the following from the UESP wiki:
https://en.uesp.net/wiki/Skyrim:Console#General_Information
I tried it for a command I was running on game load using script dragon, and it worked like a charm. Just put quotes around your object ID and it will allow the use of targeted commands with dot syntax.