Open main menu

UESPWiki β

Morrowind Mod:XIsTrainer

< Mod / Morrowind: Morrowind Mod: MWSE

A function added by MWSE.

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

SyntaxEdit

trainer (long): ref->xIsTrainer

ExampleEdit

long npcRef
long result

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

See AlsoEdit