Morrowind Mod:XStartCombat

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

A function added by MWSE.

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

Syntax[edit]

ref->xStartCombat target (reference)

Example[edit]

long npcRef
long targetRef

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

npcRef->xStartCombat targetRef

See Also[edit]

xAITravel
xPlace
xPosition
xPositionCell