Scripts

TR_m3_HH_Ulvo_VelkStudSc

TR_Mainland.esm
Variables 1
Local Variables
control
Source
1begin TR_m3_HH_Ulvo_VelkStudSc 2 3short control 4 5if ( OnDeath ) 6 if ( GetJournalIndex "TR_m4_HH_Ulvo2" >= 30 ) 7 if ( GetJournalIndex "TR_m4_HH_Ulvo2" < 70 ) 8 Journal TR_m4_HH_Ulvo2 70 9 endif 10 endif 11endif 12 13if ( GetJournalIndex "TR_m4_HH_Ulvo4" != 85 ) 14 if ( GetJournalIndex "TR_m4_HH_Ulvo4" >= 70 ) 15 if ( GetJournalIndex "TR_m4_HH_Ulvo4" < 110 ) 16 if ( GetDisabled == 0 ) 17 disable 18 return 19 endif 20 endif 21 endif 22elseif ( GetDisabled ) 23 enable 24endif 25 26if ( GetJournalIndex "TR_m4_HH_Ulvo2" > 10 ) 27 if ( GetJournalIndex "TR_m4_HH_Ulvo2" < 40 ) 28 if ( GetDistance "TR_m3_Gols_Sevlor" <= 512 ) 29 Journal TR_m4_HH_Ulvo2 40 30 RemoveEffects 118 31 AiWander 256 0 0 40 20 20 0 0 0 0 0 0 32 endif 33 endif 34endif 35 36if ( control == 0 ) 37 if ( GetJournalIndex "TR_m4_HH_Ulvo2" == 30 ) 38 if ( GetDistance "TR_m3_Gols_Llarvys" <= 250 ) 39 Journal "TR_m4_HH_Ulvo2" 35 40 "TR_m3_Gols_Llarvys"->ForceGreeting 41 set control to 1 42 endif 43 endif 44endif 45 46end