Morrowind Mod:XIsProvider

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

A function added by MWSE.

xIsProvider returns a non-zero value if the NPC/creature sells spells, repairs armor and weapons, or is an enchanter or spell maker. Otherwise it returns a 0.

Syntax[edit]

provider (long): ref->xIsProvider

Example[edit]

long npcRef
long result

Setx npcRef to xGetRef "npc"
Setx result to npcRef->xIsProvider

See Also[edit]

xIsFemale
xIsTrader
xIsTrainer
xGetService
xSetService
xModService
xGetBaseGold
xGetGold
xSetBaseGold
xSetGold