Thread Tools Display Modes
Prev Previous Post   Next Post Next
04/17/14, 12:49 PM   #1
Vuelhering
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 169
get weapontype and armortype?

I've been looking for a function or global that maps the research line and craft to a type, such as bow (or woodworking, 1) for an arbitrary item.

It's easy enough to differentiate between weapons and armor, but how do you tell what specific type of weapon something is?

Something like craft, line = GetReasearchLine(bag,slot), or GetWeaponType(bag,slot)

Any ideas? I couldn't find anything in the api that looked right.
  Reply With Quote
 

ESOUI » Developer Discussions » Lua/XML Help » get weapontype and armortype?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off