Scripts

TR_m4_NPC_Ulvys_Ules

TR_Mainland.esm
Variables 7
Local Variables
TR_Map
control
controlQ
timeOnce
T_Local_NPC
NoLore
timer
Source
1Begin TR_m4_NPC_Ulvys_Ules 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 ; used in Hlaalu questline 8short controlQ 9short timeOnce 10float timer 11short T_Local_NPC 12short NoLore 13;global 14 15if ( MenuMode == 0 ) 16 if ( TR_m4_AndasGuestState == 1 ) 17 if ( timeOnce == 0 ) 18 set timer to 0 19 set timeOnce to 1 20 endif 21 endif 22endif 23 24if ( timer >= 60 ) 25 if ( timeOnce == 1 ) 26 set timeOnce to 2 27 endif 28endif 29 30set timer to ( timer + GetSecondsPassed ) 31 32if ( TR_Map == 4 ) 33 return 34endif 35 36set TR_Map to 4 37 38End