additem not working?

Post » Sun Jun 17, 2012 5:21 pm

I've been putting together a bound dagger tome. Simple stuff, I know, but taking over the world is a three step plan. Now, I've got it in an esp and everything done correctly in that aspect, it's when I go in game and do the "player.additem SpellTomeBoundDagger 1" command, I get "Object "SpellTomeBoundDagger" not found for parameter ObjectID" error message. I figured this was on my end, so I double checked the ID, that it was loaded, and all that stuff. I think it's loading, but don't know of any method to test other than addItem.

At any rate, I then proceed to ensure the command itself was working with 'FoodMead' and 'SpellTomeBoundSword'. Same error.

Any advice, friends?
User avatar
Misty lt
 
Posts: 3400
Joined: Mon Dec 25, 2006 10:06 am

Post » Sun Jun 17, 2012 9:48 pm

Did you check the load order of your esp? It should be additem xx(formID) 1 where xx is your mod's load order
User avatar
Gill Mackin
 
Posts: 3384
Joined: Sat Dec 16, 2006 9:58 pm

Post » Sun Jun 17, 2012 9:11 pm

In-game, you need to enter the REFID not the name of the item.
Type into the console 'help' followed by the item name and it will show you all the instances of that text in the game, next to its REF ID.
Find your tome and use the REFID next to the name in the console command you've been using so far.
User avatar
D LOpez
 
Posts: 3434
Joined: Sat Aug 25, 2007 12:30 pm

Post » Mon Jun 18, 2012 9:24 am

You use the ObjectID, not the name of it, which looks like '000B8C4E'
User avatar
Jessica Stokes
 
Posts: 3315
Joined: Fri Jul 28, 2006 11:01 am

Post » Mon Jun 18, 2012 2:02 am

Ahhh... Seems kind of obvious now. Thank you all. Is there anyway to get the ID from the kit, or is it assigned on load?
User avatar
Aman Bhattal
 
Posts: 3424
Joined: Sun Dec 17, 2006 12:01 am

Post » Sun Jun 17, 2012 11:22 pm

Ahhh... Seems kind of obvious now. Thank you all. Is there anyway to get the ID from the kit, or is it assigned on load?

The last 3 bytes of your item's formid can be found in the CK but the first byte will change depending on the load order. The easiest way to find a formid of a regular item is to use the in-game console and the command "help 'itemname' 0" which will list all records that have "itemname" in them and show their formids.
User avatar
Vahpie
 
Posts: 3447
Joined: Sat Aug 26, 2006 5:07 pm


Return to V - Skyrim