Scripts

TR_m1_q_GuarThief

TR_Mainland.esm
Variables 6
Local Variables
TR_Map
control
NoLore
DoOnce
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m1_q_GuarThief 2; This short script is there to allow dialogue to be filtered on the TR_Map local variable, 3; allowing for regional topics such as "Morrowind Lore" or "Geographic Regions" to be 4; appropriate to the location the NPC is. This version is for "NoLore" NPCs. 5 6short TR_Map 7short control 8short NoLore 9short DoOnce 10short T_Local_NPC 11short T_Local_NoLore 12 13If ( doonce == 0 ) 14 If ( GetDistance, Player < 740 ) 15 If ( Player->GetPos, z >= 15100 ) 16 ForceGreeting 17 set doonce to 1 18 Endif 19 Endif 20Endif 21 22If ( OnDeath ) 23 Journal TR_m1_As_Guard 40 24Endif 25 26if ( TR_Map == 1 ) 27 return 28endif 29 30set TR_Map to 1 31 32End