Scripts

TR_m7_Shin_GanEttuKill_sc

TR_Mainland.esm
Variables 5
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
Source
1Begin TR_m7_Shin_GanEttuKill_sc 2 3; Gan-Ettu Shinathi script 4; angers them on member or skyrender queen killed 5; disables if camp is wiped out in TR_m3_Ord_Doc4 6 7short TR_Map 8short control 9short controlQ 10short T_Local_NPC 11short NoLore 12 13if ( control == 1 ) 14 return 15endif 16 17if ( OnDeath ) 18 if ( GetJournalIndex TR_m7_Shin_GanEttuKill < 1 ) 19 Journal TR_m7_Shin_GanEttuKill 1 20 endif 21endif 22 23if ( GetJournalIndex TR_m7_Shin_GanEttuKill == 100 ) 24 setfight 100 25 set control to 1 26elseif ( GetJournalIndex "TR_m3_Ord_Doc4" == 102 ) 27 disable 28 set control to 1 29endif 30 31if ( TR_Map == 7 ) 32 return 33endif 34 35set TR_Map to 7 36 37End