Jump to content

Broadbent

Member
  • Posts

    3
  • Joined

  • Last visited

Broadbent's Achievements

  1. I'm trying to add a right-click context menu to nearby containers shown in the inventory. I having a hard time understanding the context menu code and only see how to add them for items, not containers. The game already does this for worn containers like backpacks and keyrings (Rename, Drop, Place, etc.). This is what I'm talking about: This is what I'm trying to achieve: ("Turn On" and "Dismantle" are just examples) Any help is massively appreciated! Thanks
  2. Ahhh... That makes sense and works like a charm! Thank you very much sir! Happy new year
  3. I'm wondering if it is possible to add code to another mods custom function. The mod I'm trying to add to is called "Rename Containers" My goal is to run the vanilla "ISInventoryPage:refreshBackpacks()" function when the Rename Containers mod calls the following function. Now for vanilla, you do this... However, when I try this method with Rename Containers function (as shown below), it never gets run. I think it makes sense why the above code would not run, but I'm wondering what (if at all possible) is the correct way to go about this. Thank you
×
×
  • Create New...