Scripts

balynScript

Morrowind.esm
Variables 2
Local Variables
doOnce
timer
Source
1Begin balynScript 2 3float timer 4short doOnce 5 6if ( GetJournalIndex "DA_Mephala" < 40 ) 7 Return 8endif 9 10if ( GetJournalIndex DA_Mephala >= 60 ) 11 Return 12endif 13 14Set timer to ( timer + GetSecondsPassed ) 15 16if ( timer < 5 ) 17 Return 18endif 19 20Set timer to 0 21 22if ( doOnce == 0 ) 23 if ( GetDistance Player <= 1024 ) 24 if ( player->GetDistance "hlaalu_loaddoor_ 02_balyn" <=256 ) 25 if ( GetLOS Player == 1 ) 26 ForceGreeting 27 Journal DA_Mephala 55 28 set doOnce to -1 29 endif 30 endif 31 endif 32endif 33 34End