Scripts

VarninerGhost

Tribunal.esm
Variables 2
Local Variables
disOnce
enableOnce
Source
1begin VarninerGhost 2 3short disOnce 4short enableOnce 5;start disabled; place on Variner's ghost 6 7if ( GetJournalIndex MS_Blackdart < 1 ) 8 if ( getdisabled == 0 ) 9 disable 10 return 11 12 endif 13endif 14 15 16if ( GetJournalIndex MS_BlackDart >= 1 ) 17 if ( getdisabled == 1) 18 if ( enableOnce == 0 ) 19 if ( GetJournalIndex MS_BlackDart < 25 ) 20 enable 21 set enableOnce to 1 22 endif 23 endif 24 endif 25endif 26 27if ( OnDeath == 1 ) 28 if ( GetJournalIndex MS_BlackDart >= 1 ) 29 if ( GetJournalIndex MS_BlackDart < 25 ) 30 Journal MS_BlackDart_B 1 31 endif 32 endif 33endif 34 35 36if (disOnce == 0 ) 37 if ( GetJournalIndex MS_Blackdart >= 25 ) 38 if ( CellChanged == 1 ) 39 if ( GetDisabled == 0 ) 40 disable 41 set disOnce to 1 42 endif 43 Endif 44 Endif 45Endif 46 47 48End VarninerGhost