Morrowind Mod:XGetCombat

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

A function added by MWSE

xGetCombat returns a reference to this NPC/creature's combat target or 0 if the NPC/creature is not in combat.

Syntax[edit]

reference (long): ref->xGetCombat

Example[edit]

long opposition

Setx opposition to "Fargoth"->xGetCombat

See Also[edit]

xSetRef
xRefType
xGetRef
xGetPCTarget
xFirstNPC
xFirstItem
xFirstStatic
xNextRef