Jump to content

Script: Attaching an options menu to a misc item


Zorkaz

Recommended Posts

What I want to do:

When clicking or using a misc item from the inventory a menu appears.

 

The question:

What could be the proper code for this?

Onactivate only seems to work when the misc item is on the ground

 

 

 

Link to comment
Share on other sites

Misc - Junk items do not have interaction in inventory, they are totally idle/passive. I have not come across anything that will generate OnActivate in inventory. Make your misc item look like something else to script a Menu.Show();

 

Holotape > Script (Used to use a LOT but people moan about holotapes)

 

Consumable aid item > MGEF > Script OnEffectStart event to pop a menu (I use a lot of these as they can be favourite/hotkeyed)

 

Armor or weapon like a Ring > Script OnEquip (sometimes use this)

 

Book > Script OnRead (don't use them much as the page always pops)

Link to comment
Share on other sites

Yeah I know about the other commands but that's what I wanted to avoid and I hoped there'd be a getaround. Since now I have to replace all these toothbrushes.

 

Still thanks for the quick response as always

Link to comment
Share on other sites

  • Recently Browsing   0 members

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