Scripts

cassiusScript

Morrowind.esm
Variables 2
Local Variables
cassgreet
nolore
Source
1Begin cassiusScript 2 3short cassgreet 4short nolore 5 6if ( menumode == 1 ) 7 return 8endif 9 10if ( cassgreet == -1 ) 11 return 12endif 13 14if ( GetJournalIndex TT_SanctusShrine >= 20 ) 15 if ( GetJournalIndex TT_SanctusShrine < 50 ) 16 Return 17 ;or some other way of saying in the voice of Swamp Thing: 18 ;DO NOT FORCE YOUR GREETING HERE! 19 endif 20endif 21 22if ( GetJournalIndex "EB_Invisible" == 0 ) 23 if ( GetDistance Player <= 512 ) 24 if ( cassgreet == 0 ) 25 ForceGreeting 26 set cassgreet to 1 27 endif 28 endif 29endif 30 31if ( GetJournalIndex "EB_Invisible" == 70 ) 32 if ( GetDistance Player <= 512 ) 33 if ( cassgreet == 1 ) 34 ForceGreeting 35 set cassgreet to -1 36 endif 37 endif 38endif 39 40if ( GetJournalIndex "EB_Invisible" == 100 ) 41 if ( GetDistance Player <= 512 ) 42 if ( cassgreet == 1 ) 43 ForceGreeting 44 set cassgreet to -1 45 endif 46 endif 47endif 48 49End cassiusScript