Morrowind Mod:OnPCHitMe
The UESPWiki – Your source for The Elder Scrolls since 1995
OnPCHitMe
OnPCHitMe Type: Combat, Variable Returns: short Example: short OnPCHitMe if ( OnPCHitMe == 1 ) StartCombat Player Set OnPCHitMe to 0 endif Scripts: almaScript cattleScript
This is not a function but must be defined as a short variable in the script to be used. When the player hits the object, the variable will be set to 1. It must be reset to 0 when testing for it, such as in the above example script.