Scripts

TR_m7_NPC_BabaHarishi

TR_Mainland.esm
Variables 5
Local Variables
TR_Map
controlQ
NoLore
T_Local_NPC
DoOnce
Source
1Begin TR_m7_NPC_BabaHarishi 2 3short TR_Map 4short controlQ 5short NoLore 6short T_Local_NPC 7short DoOnce 8 9if ( DoOnce == 2 ) 10 return 11endif 12 13if ( GetJournalIndex TR_m7_ShiSha_HH_4 <= 0 ) 14 if ( OnDeath ) 15 Journal TR_m7_Shin_UssiranKill 1 16 set DoOnce to 2 17 endif 18endif 19 20if ( GetJournalIndex TR_m7_ShiSha_HH_4 >= 10 ) 21 if ( GetJournalIndex TR_m7_ShiSha_HH_4 < 100 ) 22 if ( OnDeath == 1 ) 23 Journal TR_m7_ShiSha_HH_4 60 24 endif 25 endif 26 if ( GetJournalIndex TR_m7_ShiSha_HH_4 >= 30 ) 27 if ( DoOnce == 0 ) 28 SetAlarm 0 29 set DoOnce to 1 30 endif 31 endif 32 if ( GetJournalIndex TR_m7_ShiSha_HH_4 >= 100 ) 33 set DoOnce to 2 34 endif 35endif 36 37if ( TR_Map ) 38 return 39endif 40 41set TR_Map to 7 42 43End