Open main menu

UESPWiki β

Morrowind Mod:XStartCombat

< Mod / Morrowind: Morrowind Mod: MWSE

A function added by MWSE.

xStartCombat is a wrapper for the original StartCombat to take variables.

SyntaxEdit

ref->xStartCombat target (reference)

ExampleEdit

long npcRef
long targetRef

Setx npcRef to xGetRef "important_npc"
Setx targetRef to xGetRef "bad_guy"

npcRef->xStartCombat targetRef

See AlsoEdit