Scripts

swimmerScript

Bloodmoon.esm
Variables 2
Local Variables
moving
doOnce
Source
1Begin swimmerScript 2 3;ENABLES/DISABLES HORKER, GIVES TRAVEL PACKAGE, JOURNAL ENTRIES 4 5short moving 6short doOnce 7 8if ( GetDisabled == 0 ) 9 if ( GetJournalIndex BM_Water < 10 ) 10 Disable 11 elseif ( GetJournalIndex BM_Water >= 70 ) 12 Disable 13 endif 14elseif ( GetDisabled == 1 ) 15 if ( GetJournalIndex BM_Water == 10 ) 16 Enable 17 endif 18endif 19 20if ( GetJournalIndex BM_Water == 10 ) 21 if ( GetDistance Player <= 256 ) 22 Journal BM_Water 50 23 set moving to 1 24 endif 25endif 26 27if ( GetJournalIndex BM_Water == 50 ) 28 if ( GetDistance Player <= 256 ) 29 if ( doOnce == 0 ) 30 AiEscort Player 0 -219541.625 217412.188 0 0 31 set doOnce to 1 32 endif 33 endif 34endif 35 36if ( GetJournalIndex BM_Water == 50 ) 37 if ( moving == 1 ) 38 if ( GetDistance BM_KA_door_dark_SG <= 2100 ) 39 if ( GetAiPackageDone == 1 ) 40 Journal BM_Water 60 41 endif 42 endif 43 endif 44endif 45 46 47 48 49 50End swimmerScript