Scripts

TR_m7_XivilaiLotan_sc

TR_Mainland.esm
Variables 6
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m7_XivilaiLotan_sc 2 3short TR_Map 4short control 5short controlQ 6short NoLore 7short T_Local_NPC 8short T_Local_NoLore 9 10If ( Control != 2 ) 11 If ( GetAttacked ) 12 Set Control to 2 13 Endif 14Endif 15 16If ( GetJournalIndex TR_m7_Ns_TT_Orvayn5 >= 10 ) 17 If ( GetJournalIndex TR_m7_Ns_TT_Orvayn5 <= 20 ) 18 If ( GetDistance Player <= 775 ) 19 If ( Control != 2 ) 20 ForceGreeting 21 Endif 22 Endif 23 Endif 24Endif 25 26END