Jump to content

Question about OnEquipped script


VenomousHail

Recommended Posts

Okay so what I want to do is open a menu when a player equips a weapon. The OnItemEquipped script works for that, but then I want to attach a mod from that menu and if there are 2 of the same weapon types in my inventory it will only work on one weapon part of the time and doesn't work on any of the other ones at all. So I wanted to use the OnEquipped script and attach it to the weapon itself but now the menu doesn't open up. On the Creation Kit wiki it says:

When an object is equipped it is inside a container, which means that you cannot call native functions on it. (Unless it is a persistent reference)

 

So does this mean I will never be able to run the script on the equipped weapon?

Link to comment
Share on other sites

  • Recently Browsing   0 members

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