Scripts

TR_m7_Rothis_Uvalas_scr

TR_Mainland.esm
Variables 8
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
teleport
timer
Source
1Begin TR_m7_Rothis_Uvalas_scr 2 3short TR_Map 4short control 5short controlQ 6short NoLore 7short T_Local_NPC 8short T_Local_NoLore 9short teleport 10 11float timer 12 13if ( OnDeath ) 14 if ( getjournalindex TR_m7_Ns_traipsing >= 10 ) 15 if ( getjournalindex TR_m7_Ns_traipsing <= 60 ) 16 journal TR_m7_Ns_traipsing 200 17 endif 18 endif 19endif 20 21if ( control == -1 ) 22 return 23endif 24 25; cast almsivi intervention and disable 2 seconds later 26if ( teleport == 1 ) 27 if ( control == 0 ) 28 set control to 1 29 set timer to 0 30 cast "almsivi intervention" player 31 return 32 endif 33 34 if ( MenuMode == 1 ) 35 return 36 endif 37 38 set timer to ( timer + GetSecondsPassed ) 39 if ( timer >= 2 ) 40 set control to -1 41 Positioncell 4000 4229 15621 7000 "Narsis, Rothis Uvalas' Apartment" ; MARK is TR_m7_MARK_Ns_Rothis 42 AiWander 0 0 0 43 SetAlarm 100 44; set T_Local_NoLore to 1 45 return 46 endif 47endif 48 49if ( TR_Map == 7 ) 50 return 51endif 52 53set TR_Map to 7 54 55End