geekminxen Posted February 17, 2012 Share 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? Link to comment Share on other sites More sharing options...
Ladez Posted February 17, 2012 Share Posted February 17, 2012 Are you trying to use AddNote to add an item? Cause that function only takes notes as parameter. Link to comment Share on other sites More sharing options...
DieHard3303 Posted February 17, 2012 Share 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 Link to comment Share on other sites More sharing options...
Ladez Posted February 17, 2012 Share 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. Link to comment Share on other sites More sharing options...
geekminxen Posted February 17, 2012 Author Share 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! Link to comment Share on other sites More sharing options...
Quetzlsacatanango Posted February 18, 2012 Share 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. Link to comment Share on other sites More sharing options...
geekminxen Posted February 21, 2012 Author Share 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! Link to comment Share on other sites More sharing options...
Recommended Posts