Jump to content

Making an equipable item that opens reload bench menu


bigheadbrandon

Recommended Posts

I know I've played with mods that add an armor item that opens a computer screen or menu when equipped, is it possible to apply the same logic to open the reload bench menu with an item? I have a basic understanding of GECK if you could just point me in the right direction it would be appreciated. Edited by bigheadbrandon
Link to comment
Share on other sites

I would start by making a copy of an armor item, call it MyReloadTrigger, for example. then untick it's biped slots. Then add a little script to it that uses the OnEquip block. I would start with this:

 

scn MyReloadThingyScript

BEGIN ONEquip

  player.showrecipemenu ReloadingBenchRecipes
  player.UnequipItem MyReloadTrigger

END

Link to comment
Share on other sites

I would start by making a copy of an armor item, call it MyReloadTrigger, for example. then untick it's biped slots. Then add a little script to it that uses the OnEquip block. I would start with this:

 

scn MyReloadThingyScript

BEGIN ONEquip

  player.showrecipemenu ReloadingBenchRecipes
  player.UnequipItem MyReloadTrigger

END

 

Thanks. Works nicely except for the crash upon closing the menu, I'm sure I can fine tune that though. This will definitely add some more depth to my mod in the long run.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...