Help with a consol command

Post » Thu Jul 19, 2012 5:57 am

Is there any other command then DISABLE that removes everything instead of just "hide" it?

Like if i have an persistent nps's corps i want to remove.
User avatar
Devils Cheek
 
Posts: 3561
Joined: Sun Aug 13, 2006 10:24 pm

Post » Thu Jul 19, 2012 5:58 am

markfordelete

http://www.uesp.net/wiki/Skyrim:Console#Targeted_Commands

Deletes the targeted object the next time the area (cell) it resides in is reloaded. Useful for removing specific unwanted furniture/decoration from homes. Be careful as there's no way to restore deleted objects. Objects marked for delete will show [D] next to their ref ID if you re-target (re-click) them. Can be used to remove Ash Piles and Ghost Remains, which otherwise never get removed from the world
.
But as noted, be very, very, careful how you use it. The target of this command will be permanently deleted from your game the next time the affected cell reloads, if you're not precise with your targeting or type in a RefID incorrectly you could be in for some unpleasant surprises.
User avatar
lauraa
 
Posts: 3362
Joined: Tue Aug 22, 2006 2:20 pm

Post » Thu Jul 19, 2012 9:07 am

Thanks, must have missed that...visited that site before i wrote here ;)

Yea i know but can't you first use the command DISABLE so you see what you have targeted, then use the MARKFORDELETE...?
User avatar
kasia
 
Posts: 3427
Joined: Sun Jun 18, 2006 10:46 pm

Post » Wed Jul 18, 2012 8:21 pm

That should work in theory, but it doesn't always (at least not in my game). One of my mods spawns a lot of extra encounters, which is fun, but has the unfortunate tendency to leave the residual corpses in place for extended periods of time and also respawn their inventories the next time I see them. It makes them repeatedly lootable which is nice on occasion but when you fight an enemy CW patrol in front of a city's main gate, you kinda expect the locals to have cleaned up the dead bodies by the time you roll into town again, not just keep stepping over them for days on end.

I've taken to using markfordelete on them, the thing is using disable/enable has no effect so I have to be very careful since I can't verify the target that way. I've gotten used to the RefIDs on these spawned generics anyway so it's not such a big deal. My worst screw up with the command was when I was trying to get rid of some pesky static clutter in one of my homes and accidentally targeted my follower - who sitting in a nearby chair - instead. He wasn't even that close so I'm still not sure how that happened, it's possible I'd been in the console and targeted him for something else and the RefID was still active and I didn't notice in time.

I was able to bring him back somehow... recycleactor or enable or some combo of commands. But I did a lot of searching when he first when missing and it wasn't until I typed in his RefID to do a moveto command and find him that I saw the [D] tacked onto it and went "D'oh!" :tongue:
User avatar
Kayla Keizer
 
Posts: 3357
Joined: Tue Dec 12, 2006 4:31 pm


Return to V - Skyrim