Jump to content

Any documentation for context menu code?


sverinn

Recommended Posts

Hi everyone.
I am new to modding and stuff. I've had some difficulties with finding any documentation about how context menus work.
Basically, I need to add a context menu with a condition depending on player's stats. If the requirements are not met, the item in context menu appears with red text and displays text on mouseOver (similar as vanilla behavior).

 

So, the question is, how do I handle ISContextMenu.lua so I can make it work? Is there any comprehensive documentation for it?

Sorry if the question is too obvious, I am kinda new and confused :)

Link to comment
Share on other sites

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...