TR_m3_OE_FG_q_AureliaScr
TR_Mainland.esm
Variables
7
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
timer
Source
1Begin TR_m3_OE_FG_q_AureliaScr
2
3short TR_Map
4short control
5short controlQ
6short NoLore
7short T_Local_NPC
8short T_Local_NoLore
9float timer
10
11if ( CellChanged == 1 )
12 if ( "TR_m3_FG_OE3_PunavitTrip" == 1 )
13 set T_Local_NoLore to 0
14 sethello 0
15 elseif ( GetPCCell "Old Ebonheart" == 0 )
16 set T_Local_NoLore to 0
17 sethello 30
18 else
19 set T_Local_NoLore to 1
20 sethello 30
21 endif
22endif
23
24if ( control == 1 )
25 if ( MenuMode == 0 )
26 set timer to ( timer + GetSecondsPassed )
27 if ( timer > 2 )
28 PlaySound3D "mysticism area"
29 set control to 2
30 endif
31 endif
32endif
33
34if ( OnDeath == 1 )
35 if ( "TR_m3_FG_OE3_PunavitTrip" == 1 )
36 set "TR_m3_FG_OE3_PunavitTrip" to 0
37 "tr_m3_OE_FG_cr_AGhost"->disable
38 "tr_m3_OE_FG_cr_AGhost"->PlaceAtMe "T_Glb_Var_SummonFX" 1 0 0
39 endif
40 if ( control >= 1 )
41 if ( control <= 2 )
42 additem "TR_m3_FG_OE7_Amulet" 1
43 endif
44 endif
45endif
46
47if ( TR_Map == 3 )
48 return
49endif
50
51set TR_Map to 3
52
53End