Scripts

TR_m7_NPC_Thenvil_Othranis

TR_Mainland.esm
Variables 6
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m7_NPC_Thenvil_Othranis 2 3short TR_Map 4short control 5short controlQ 6short NoLore 7short T_Local_NPC 8short T_Local_NoLore 9 10if ( OnDeath == 1 ) 11 if ( GetJournalIndex "TR_m7_AI_TT_Q1" < 75 ) 12 AddItem "Gold_001" 300 13 AddItem "TR_m7_AI_TT_Q1Amulet" 1 14 endif 15endif 16 17if ( controlQ == 1 ) 18 return 19endif 20 21if ( GetJournalIndex TR_m7_AI_TT_Q1 >= 25 ) 22 if ( controlQ == 0 ) 23 if ( GetDistance Player <= 600 ) 24 ForceGreeting 25 endif 26 endif 27endif 28 29if ( TR_Map == 7 ) 30 return 31endif 32 33set TR_Map to 7 34 35End