Morrowind Mod:HitOnMe
< Mod / Morrowind: Morrowind Mod: Alphabetical Functions / Categorical FunctionsHitAttemptOnMe
HitOnMe
HitAttemptOnMe, ObjectID HitOnMe, ObjectID Where: ObjectID = specified weapon identifier Type: Combat Returns: short Example: Set keeningHit to HitOnMe Keening player->HitOnMe, "chitin dagger" Scripts: LorkhanHeart (HitOnMe) Not Used (HitAttemptOnMe)
Returns 1 if a hit on the calling NPC is attempted (HitAttemptOnMe) or hit (HitOnMe) by ObjectID in melee. For example, player->HitOnMe, "chitin dagger" will return 1 if the player is hit by a chitin dagger.