Jump to content

Recommended Posts

Posted (edited)
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
Posted

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

Posted

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.

Posted

Make sure MyReloadTrigger isn't a quest item. The game doesn't seem to like force unequipping quest items.

 

I changed the equip type from "bodywear" to "big guns" now it works without a hitch. Thanks for the suggestion though.

  • Recently Browsing   0 members

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