Scripts

TR_m1_q_PickDeliverer_sc

TR_Mainland.esm
Variables 6
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m1_q_PickDeliverer_sc 2 3short TR_Map 4short control 5short controlQ 6short NoLore 7short T_Local_NPC 8short T_Local_NoLore 9 10If ( GetJournalIndex "TR_m1_RR_MQ_2.5" >= 20 ) 11 SetHealth 0 12Endif 13 14if ( GetJournalIndex "TR_m1_HT_Rathra_q2" == 10 ) 15 if ( controlQ == 0 ) 16 if ( GetDistance player <= 250 ) 17 ForceGreeting 18 return 19 endif 20 endif 21endif 22 23if ( OnDeath ) 24 if ( GetJournalIndex "TR_m1_HT_Rathra_q2" == 10 ) 25 Journal "TR_m1_HT_Rathra_q2_a" 100 26 endif 27endif 28 29if ( GetJournalIndex "TR_m1_RR_MQ_2.5" >= 50 ) 30 if ( GetDisabled == 0 ) 31 disable 32 endif 33elseif ( GetJournalIndex "TR_m1_RR_MQ_2.5" >= 20 ) 34 if ( GetDisabled ) 35 enable 36 endif 37elseif ( GetJournalIndex "TR_m1_HT_Rathra_q2" >= 100 ) 38 if ( GetDisabled == 0 ) 39 disable 40 endif 41elseif ( GetJournalIndex "TR_m1_HT_Rathra_q2" >= 10 ) 42 if ( GetDisabled ) 43 enable 44 endif 45elseif ( GetDisabled == 0 ) 46 disable 47endif 48 49if ( TR_Map ) 50 return 51endif 52 53set TR_Map to 1 54 55End