geekminxen Posted February 17, 2012 Posted February 17, 2012 Pretty much what it says on the tin. I want a topic end result script to remove an item from the player's inventory and place it in the NPC's inventory. The geck compiler thinks this is A Bad Idea. (I'm using addnote and removenote, btw.) Help?
Ladez Posted February 17, 2012 Posted February 17, 2012 Are you trying to use AddNote to add an item? Cause that function only takes notes as parameter.
DieHard3303 Posted February 17, 2012 Posted February 17, 2012 Are you trying to use AddNote to add an item? Cause that function only takes notes as parameter.Why not AddItem and RemoveItem
Ladez Posted February 17, 2012 Posted February 17, 2012 Are you trying to use AddNote to add an item? Cause that function only takes notes as parameter.Why not AddItem and RemoveItemAre that question directed at me or the OP? But yes, you should probably use Add/RemoveItem instead.
geekminxen Posted February 17, 2012 Author Posted February 17, 2012 Actually, I got it figured out. :) The game considers a holodisk a note, which I guess is why it doesn't show up in your inventory like a misc. item or something, so you have to use add/removenote. I was going by the bethsoft geck wiki, which said you can use the item's name/ID, when in fact the result script wants the base ID alphanumeric code. Thanks, though!
Quetzlsacatanango Posted February 18, 2012 Posted February 18, 2012 Using ID numbers instead of the name is probably not a good idea. Consider what happens if a player has your mod in different load order than you do, which is almost assured.
geekminxen Posted February 21, 2012 Author Posted February 21, 2012 Using ID numbers instead of the name is probably not a good idea. Consider what happens if a player has your mod in different load order than you do, which is almost assured. Sorry I didn't see this-- thank you for that reminder! :facepalm: I think I've actually switched it back over to the name, but I'll make sure. Thank you!
Recommended Posts