Morrowind Mod:GetTarget
< Mod / Morrowind: Morrowind Mod: Alphabetical Functions / Categorical FunctionsGetTarget
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.