Morrowind Mod:XIsTrader
The UESPWiki – Your source for The Elder Scrolls since 1995
< Mod / Morrowind: Morrowind Mod: MWSE
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.
Syntax[edit]
trader (long): ref->xIsTrader
Example[edit]
long npcRef long result Setx npcRef to xGetRef "npc" Setx result to npcRef->xIsTrader
See Also[edit]
xIsFemale
xIsTrainer
xIsProvider
xGetService
xSetService
xModService
xGetBaseGold
xGetGold
xSetBaseGold
xSetGold