Scripts

TR_m4_AA_Vf_NPCsc

TR_Mainland.esm
Variables 5
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
Source
1Begin TR_m4_AA_Vf_NPCsc 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 controlQ 9short NoLore 10short T_Local_NPC 11 12if ( GetDisabled ) 13 return 14endif 15 16if ( TR_m4_Vf_TimerGlb == 2 ) 17 if ( CellChanged ) 18 Disable 19 endif 20endif 21 22if ( TR_Map ) 23 return 24endif 25 26set TR_Map to 4 27 28End