Scripts

TR_m3_q_Deed_Spy_Script_01

TR_Mainland.esm
Variables 6
Local Variables
doOnce
NoLore
T_Local_NPC
T_Local_NoLore
TR_Map
T_Local_Khajiit
Source
1begin TR_m3_q_Deed_Spy_Script_01 2 3; Script on NPC "TR_m3_s_JarJoZhid_Spy" for quest "TR_m3_AT_Deed". 4 5short doOnce 6short NoLore 7short T_Local_NPC 8short T_Local_NoLore 9short TR_Map 10short T_Local_Khajiit 11 12if ( TR_Map != 3 ) 13 set TR_Map to 3 14 set T_Local_Khajiit to 1 15endif 16 17if ( doOnce < 1 ) 18 StartCombat, Player 19 set doOnce to 1 20endif 21 22if ( onDeath == 1 ) 23 if ( getJournalIndex "TR_m3_AT_Deed" < 145 ) 24 Journal TR_m3_AT_Deed 145 25 endif 26endif 27 28if ( doOnce < 2 ) 29 If ( Player->GetItemCount, "TR_m3_q_Deed_Ring_01" >= 1 ) 30 Journal TR_m3_AT_Deed 147 31 set doOnce to 2 32 endif 33endif 34end