Scripts

TR_m3_NPC_OE_DelagiaGuard

TR_Mainland.esm
Variables 6
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m3_NPC_OE_DelagiaGuard 2 3; Script on NPCs TR_m3_OE_DelagiaGuard and 4; TR_m3_OE_DelagiaGuardL for OE Thieves Guild questline. 5 6short TR_Map 7short control 8short controlQ 9short NoLore 10short T_Local_NPC 11short T_Local_NoLore 12 13if ( controlQ ) 14 if ( GetDisabled == 0 ) 15 disable 16 endif 17elseif ( GetJournalIndex "TR_m3_TG_Moranie2" >= 100 ) 18 if ( GetDisabled == 0 ) 19 disable 20 endif 21elseif ( GetJournalIndex "TR_m3_TG_Moranie2" == 65 ) 22 set controlQ to 1 23elseif ( GetJournalIndex "TR_m3_TG_Fentus4" >= 50 ) 24 if ( GetDisabled ) 25 enable 26 endif 27elseif ( GetDisabled == 0 ) 28 disable 29endif 30 31if ( TR_Map == 3 ) 32 return 33endif 34 35set TR_Map to 3 36 37End