Maxandmov Posted October 21, 2016 Share Posted October 21, 2016 (edited) Hello, guys. As far as (most of you) probably know, there is JIP CCC modification. Jazzisparis wrote some kind of gear override function there, and you were able to pick NPC's gear by clicking RMB on it. The question is simple: How do I detect when I click the item and how do I figure out this particular item's base ID? Thanks in advance. Edited October 21, 2016 by Maxandmov Link to comment Share on other sites More sharing options...
PushTheWinButton Posted October 21, 2016 Share Posted October 21, 2016 I think Jazz probably used the GetSelectedItemRef function from his NVSE plugin. It returns an inventory reference for the currently highlighted item in a menu. You can convert this to a form using GetBaseObject or use the inventory reference directly. Detecting when a key is pressed can be done with IsKeyPressed or IsControlPressed. Link to comment Share on other sites More sharing options...
Maxandmov Posted October 21, 2016 Author Share Posted October 21, 2016 Hey, that might actually do it. I'll give it a shot, thanks! Link to comment Share on other sites More sharing options...
Recommended Posts