View Single Post
12/03/23, 07:42 PM   #6
sinnereso
AddOn Author - Click to view addons
Join Date: Oct 2022
Posts: 247
Originally Posted by Dolgubon View Post
While it's true that you cannot use quickslot items, it's possible you might be able to use the function UseItem. It works for some items, but im not sure if it will work for repair kits. Also, it's a protected function, so it can only be used outside of combat, and you must call it like this:if IsProtectedFunction("TheNameOfYourFunction") then CallSecureProtected("TheNameOfYourFunction", arg1, arg2, arg3)else TheNameOfYourFunction(arg1, arg2, arg3)end
ya it would be used outside of combat just repairing walls.. so basically i was about to setup a function so you could press Q once to wall repair and it would continue on its own untill wall complete. I had the entire thing as a vision in my head but I could not find the actual function to use the quickslot so it didnt go as planned. wall repair kits cant be used from inventory only the quickslot.

it was meant to be a QOL feature mostly.

Last edited by sinnereso : 12/03/23 at 07:46 PM.
  Reply With Quote