Scripts

TR_m7_Ns_IC6_Vartis_sc

TR_Mainland.esm
Variables 6
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m7_Ns_IC6_Vartis_sc 2 3; Controls Vartis Delvi 4; The global variable TR_m7_Ns_IC6_SavePriest keeps track if player has saved him, even if done before the Imperial Cult quest 5 6short TR_Map 7short control 8short controlQ 9short NoLore 10short T_Local_NPC 11short T_Local_NoLore 12 13if ( OnDeath == 1 ) 14 if ( GetJournalIndex TR_m7_Ns_IC6 > 0 ) 15 journal TR_m7_Ns_IC6 90 16 endif 17 if ( "TR_m7_Ns_IC6_SavePriest" < 3 ) 18 AddItem "TR_m7_q_Ns_IC6_InoStaff" 1 ;So the staff can't be pickpocketed earlier 19 endif 20endif 21 22if ( TR_m7_Ns_IC6_SavePriest >= 2 ) 23 return 24endif 25 26if ( GetPCCell "Shipal-Shin Region" == 1 ) 27 AITravel -3544 -387488 2802 28 set TR_m7_Ns_IC6_SavePriest to 2 29 StartScript "TR_m7_Ns_IC6_Move_sc" 30endif 31 32if ( TR_Map == 7 ) 33 return 34endif 35 36set TR_Map to 7 37 38End