CanUnitTrade

From ESOUI Wiki

Jump to: navigation, search

This function returns true if the player can initiate an item trade — that is, an exchange of items and gold between two players — with the specified unit.

Arguments

unitTag
A string representing a unit tag.

Example

if CanUnitTrade("reticleover") then
   d("You're aiming at a player that you can trade with.")
end

External links

Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox