TR_m1_Niv_Lish_scr
TR_Mainland.esm
Variables
8
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
DoOnce
timer
Source
1Begin TR_m1_Niv_Lish_scr
2
3short TR_Map
4short control
5short controlQ
6short NoLore
7short T_Local_NPC
8short T_Local_NoLore
9short DoOnce
10float timer
11
12if ( GetDisabled )
13 return
14endif
15
16if ( TR_Map != 1 )
17 set TR_Map to 1
18endif
19
20if ( CellChanged == 1 )
21 if ( DoOnce == 0 )
22 if ( GetJournalIndex TR_m1_Niv_Crack == 200 )
23 PlaceItemCell TR_m1_imp_guard_navy_s "Nivalis, Icebreaker Keep" 3971 3847 13001 0 ;TR_m1_MARK_Icebreaker_Guard
24 set DoOnce to 1
25 endif
26 endif
27endif
28
29if ( timer > 0 )
30 OnActivate
31endif
32
33if ( MenuMode )
34 Return
35endif
36if ( GetJournalIndex TR_m1_Niv_Crack != 100 )
37 Return
38endif
39
40if ( timer == 0 )
41 Set timer to 1
42 ExplodeSpell "Almsivi Intervention"
43elseif ( timer < 3 )
44 Set timer to ( timer + GetSecondsPassed )
45elseif ( timer >= 3 )
46 Disable
47endif
48
49End