Jump to content

Item usage/trinkets/stones


Recommended Posts

Hello, there is many ways to do what you are asking, C# and lua.

Take your pick of one that works for you.

1st :
string ItemName = ItemsManager.GetNameById(50259);
Lua.LuaDoString("UseItemByName('" + ItemName+ "')");

2nd :


4th : 
ItemsManager.UseContainerItem("Name here");

5th : 
Lua.LuaDoString("UseItemByName('ItemName Here')");


Link to comment
Share on other sites

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...