PDA

View Full Version : just USING an item, no target. (Like eating food)



testingThisFirst
11-18-2016, 12:55 PM
hey guys, i browsed the whole library with every idea that came up in my mind but i can't find a solution for that.

My server has a mana rune that has to used without a target.

I didnt find a a simple use function. I also tryed to look if thers a keyevent('hotkey') or similiar function so i can just bind it to a hotkey but didnt find anything useful for that problem

Any ideas?

Found a weird way: Container:UseItem(slot) which does exactly what i want. Anything in the library thats easier to use instead of iterating through and finding ur item?

Like.. UseItem(id)?

Edit2: Self.UseItem(itemid)

http://xenobot.wikia.com/wiki/Self_Actions

-.-" its not there