Scripts

botrirScript

Morrowind.esm
Variables 2
Local Variables
done
nolore
Source
1Begin botrirScript 2 3short done 4short nolore 5 6if ( done == -1 ) 7 return 8endif 9 10if ( GetJournalIndex MV_RecoverWidowmaker > 50 ) 11 return 12endif 13 14if ( menumode == 1 ) 15 return 16endif 17 18if ( done == 0 ) 19 if ( GetCurrentAiPackage == 3 ) 20 If ( GetDistance "Iveri Llothri" <= 800 ) 21 StartCombat "Iveri Llothri" 22 set done to 1 23 endif 24 endif 25endif 26 27 28 29;if ( GetJournalIndex MV_RecoverWidowmaker >= 10 ) 30 ;if ( GetJournalIndex MV_RecoverWidowmaker <= 50 ) 31 if ( Player->GetItemCount "widowmaker_unique" > 0 ) 32 if ( GetDistance Player <= 512 ) 33 if ( GetDeadCount "Iveri Llothri" > 0 ) 34 ;Journal "MV_RecoverWidowmaker" 50 35 ForceGreeting 36 endif 37 endif 38 endif 39 ;endif 40;endif 41 42 If ( OnDeath == 1 ) 43 Journal "MV_RecoverWidowmaker", 90 44 set done to -1 45 endif 46 47End