Morrowind Mod:XIsTrainer

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

A function added by MWSE.

xIsTrainer returns a 1 if the NPC/creature is a Trainer and 0 otherwise.

Syntax[edit]

trainer (long): ref->xIsTrainer

Example[edit]

long npcRef
long result

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

See Also[edit]

xIsFemale
xIsTrader
xIsProvider
xGetService
xSetService
xModService
xGetBaseGold
xGetGold
xSetBaseGold
xSetGold