0xbadbac0n 0 Posted September 30, 2020 Share Posted September 30, 2020 Hi, how do I use items like Mana Emerald or trinkets in a fightclass? Using them by name like a spell seems not to work Link to comment https://wrobot.eu/forums/topic/12554-item-usagetrinketsstones/ Share on other sites More sharing options...
TheSmokie 242 Posted October 1, 2020 Share Posted October 1, 2020 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 : ItemsManager.UseItemByNameOrId("50259"); 3rd: ItemsManager.UseItem(555); 4th : ItemsManager.UseContainerItem("Name here"); 5th : Lua.LuaDoString("UseItemByName('ItemName Here')"); 0xbadbac0n 1 Link to comment https://wrobot.eu/forums/topic/12554-item-usagetrinketsstones/#findComment-60139 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now