Scripts

TR_m3_NPC_OE_Norri

TR_Mainland.esm
Variables 6
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m3_NPC_OE_Norri 2 3; Script on NPC TR_m3_Norri. 4; He is the bouncer of Delagia's gang in the OE Thieves Guild questline. 5 6short TR_Map 7short control 8short controlQ 9short NoLore 10short T_Local_NPC 11short T_Local_NoLore 12 13if ( MenuMode ) 14 return 15endif 16 17if ( OnDeath ) 18 set control to 1 19endif 20 21if ( GetJournalIndex "TR_m3_TG_Moranie2" >= 200 ) 22 if ( GetDisabled ) 23 enable 24 endif 25elseif ( GetJournalIndex "TR_m3_TG_Moranie2" >= 100 ) 26 if ( GetDisabled == 0 ) 27 disable 28 endif 29elseif ( GetDisabled ) 30 enable 31endif 32 33if ( control == 0 ) 34 if ( GetDistance player <= 200 ) 35 ForceGreeting 36 set control to 1 37 endif 38endif 39 40if ( TR_Map == 3 ) 41 return 42endif 43 44set TR_Map to 3 45 46End