Scripts

TR_m3_NPC_Obedur_Marvus

TR_Mainland.esm
Variables 7
Local Variables
TR_Map
control
controlQ
NoLore
greetOnce
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m3_NPC_Obedur_Marvus 2 3short TR_Map 4short control 5short controlQ 6short NoLore 7short greetOnce 8short T_Local_NPC 9short T_Local_NoLore 10 11if ( GetJournalIndex "TR_m3_Aim_Dreugh2" >= 30 ) 12 if ( greetOnce == 0 ) 13 if ( GetDistance player <= 666 ) 14 ForceGreeting 15 set greetOnce to 1 16 endif 17 endif 18 19 if ( OnDeath ) 20 if ( GetJournalIndex "TR_m3_Aim_Dreugh2" < 90 ) 21 Journal "TR_m3_Aim_Dreugh2" 90 22 endif 23 endif 24endif 25 26if ( TR_Map == 3 ) 27 return 28endif 29 30set TR_Map to 3 31 32End