Scripts

TR_m7_q_Babzu_Handel

TR_Mainland.esm
Variables 6
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
Source
1begin TR_m7_q_Babzu_Handel 2 3;Script to attach to Babzu Handel to update journal and end quest if player kills Babzu Handel in "This Too Shall Pass" quest 4 5short TR_Map 6short control 7short controlQ 8short NoLore 9short T_Local_NPC 10short T_Local_NoLore 11 12if ( controlQ == 1 ) 13 return 14endif 15 16if ( OnDeath ) 17 set controlQ to 1 18 if ( GetJournalIndex TR_m7_SepGaP_Shinathi >= 10 ) 19 if ( GetJournalIndex TR_m7_SepGaP_Shinathi < 110 ) 20 Journal TR_m7_SepGaP_Shinathi 160 21 return 22 endif 23 endif 24endif 25 26if ( CellChanged ) 27 if ( controlQ == 0 ) 28 if ( GetJournalIndex TR_m7_SepGaP_Shinathi < 10 ) 29 if ( GetDeadCount "TR_m7_Shariche Asselani" > 0 ) 30 if ( GetDisabled == 0 ) 31 set controlQ to 1 32 Disable 33 return 34 endif 35 endif 36 endif 37 endif 38endif 39 40if ( TR_Map == 7 ) 41 return 42endif 43 44set TR_Map to 7 45 46end TR_m7_q_Babzu_Handel