Jump to content

forcepersistent does not do anything in a batch file


wysiwyg

Recommended Posts

So, I've had an issue and there are 60,000 deleted workshop objects in my save game which remain persistent despite not having references to them. I can get them to clear and be removed from the save if I open the console and manually use prid to select the formid and then use fp or forcepersistent. This command is a toggle for forced persistence btw. I'm informed that the selected object is no longer forced to be persistent and it is, correctly, no longer available to be referenced afterwards or saved with the game.

 

Great! I made a list of references and can make batch files (5000 lines each) to clear all the items out.

 

Sadly, I find that the forcepersistent console command does nothing if executed in a batch.

 

so, dppi shows nothing for the items, resaver doesn't show anything but the changeform and workshopitemscript (and sometimes just the changeform).

 

Is there a papyrus equivalent to the forcepersistent command? I couldn't find one.

 

Has anyone else used this command in a batch somehow or figured out how to remove persistence with no apparent cause?

 

I still haven't identified the problem but basically most plot objects in SimSettlements persist after deletion in my save game. Just my save game apparently even if I run with no mods except SimSettlements. So, if I could clean them up periodically great! Sadly, nope.

 

If I select one of the deleted objects in the console they have the flags [D][T][PP] (disabled, temporary persistence, papyrus placed)

 

Can anyone offer any insights?

Link to comment
Share on other sites

Well, now I feel bad haha

 

Also, apparently the last line in the batch file did work with forcepersistent but just the last line. I tried comments, semicolons (prid xxxxxx;fp;), etc. but nothing worked. I did find that there are apparently some undocumented features to the console when I put this on a line "# end" but that's another thread :-)

Link to comment
Share on other sites

  • 2 weeks later...

Well, that's very interesting. I'm looking into FP for a different reason - I want to spawn NPC which would be regarded as temporary ([T]), so would hopefully eventually disappear. Did you solve the problem with batch?

Link to comment
Share on other sites

  • Recently Browsing   0 members

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