Scripts

TR_m7_NPC_ShiSha_HHQ4Gd

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