Scripts

TR_m3_StabbyJak_Merrus_sc

TR_Mainland.esm
Variables 6
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
T_Local_NoLore
Source
1Begin TR_m3_StabbyJak_Merrus_sc 2 3; Script on NPC "TR_m3_Stabby-Jak Merrus" for quest 4; TR_m3_OE_CriminalLawyer. 5 6short TR_Map 7short control 8short controlQ 9 ; controlQ - 2 means player ratted Reynant out to Stabby 10 ; controlQ - 3 means player aggroed Stabby after Reynant was killed 11short T_Local_NPC 12short NoLore 13short T_Local_NoLore 14 15if ( OnDeath ) 16 If ( GetJournalIndex "TR_m3_OE_CriminalLawyer" >= 10 ) 17 If ( GetJournalIndex "TR_m3_OE_CriminalLawyer" < 35 ) 18 Journal "TR_m3_OE_CriminalLawyer" 35 19 endif 20 endif 21endif 22 23If ( CellChanged ) 24 if ( GetJournalIndex "TR_m3_OE_CriminalLawyer" >= 100 ) 25 Disable 26 endif 27Endif 28 29if ( TR_Map == 3 ) 30 return 31endif 32 33set TR_Map to 3 34 35End