Scripts

TR_m1_q_Sinsal

TR_Mainland.esm
Variables 5
Local Variables
TR_Map
control
state
T_Local_NPC
NoLore
Source
1Begin TR_m1_q_Sinsal 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. 5 6short TR_Map 7short control 8short state 9short T_Local_NPC 10short NoLore 11 12If ( state == 1 ) 13 If ( CellChanged ) 14 disable 15 TR_m1_q_AshamulGuard->Disable 16 Endif 17Endif 18 19If ( OnDeath ) 20 Journal TR_m1_RR_Slander 110 21Endif 22 23if ( TR_Map == 1 ) 24 return 25endif 26 27set TR_Map to 1 28 29End