A function added by MWSE.
xIsTrader returns a 0 if the NPC/creature doesn't barter for items, otherwise it is a value that represents the combination of items the merchant will trade. New functions for each individual type are needed.
SyntaxEdit
trader (long): ref->xIsTrader
ExampleEdit
long npcRef long result Setx npcRef to xGetRef "npc" Setx result to npcRef->xIsTrader