Morrowind Mod:GetTarget
The UESPWiki – Your source for The Elder Scrolls since 1995
GetTarget
GetTarget, ActorID Where: ActorID = NPC ID to check against the source actor's current target. Type: Combat Returns: short Example: if ( GetTarget, "taren andoren" == 1 ) if ( GetTarget Player == 1 ) Scripts: nartiseGuards nemindaScript
Returns 1 if the target of the NPC is the given actor. Returns 0 otherwise.