Scripts

TR_m4_NPC_Galvur_Irano

TR_Mainland.esm
Variables 6
Local Variables
TR_Map
control
controlQ
updateJournal
T_Local_NPC
NoLore
Source
1Begin TR_m4_NPC_Galvur_Irano 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 controlQ 9short updateJournal 10short T_Local_NPC 11short NoLore 12 13if ( GetJournalIndex "TR_m4_Arv_SlaveMistake" == 70 ) 14 if ( TR_m4_AA_TharmadalionStatus == 2 ) 15 Journal "TR_m4_Arv_SlaveMistake" 100 16 endif 17endif 18 19if ( GetJournalIndex "TR_m4_Arv_SlaveMistake" == 80 ) 20 if ( TR_m4_AA_KhesurraStatus == 2 ) 21 if ( TR_m4_AA_JSuhkurrStatus == 2 ) 22 Journal "TR_m4_Arv_SlaveMistake" 150 23 endif 24 endif 25endif 26 27if ( GetJournalIndex "TR_m4_Arv_SlaveMistake" == 90 ) 28 if ( TR_m4_AA_KhesurraStatus == 2 ) 29 if ( TR_m4_AA_JSuhkurrStatus == 2 ) 30 if ( TR_m4_AA_TharmadalionStatus == 2 ) 31 Journal "TR_m4_Arv_SlaveMistake" 200 32 endif 33 endif 34 endif 35endif 36 37 38 39if ( TR_Map == 4 ) 40 return 41endif 42 43set TR_Map to 4 44 45End