TR_m2_q_18_PriestScript
TR_Mainland.esm
Variables
9
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
xposi
yposi
zposi
zrotposi
Source
1Begin TR_m2_q_18_PriestScript
2
3short TR_Map
4short control
5short controlQ
6float xposi
7float yposi
8float zposi
9float zrotposi
10short T_Local_NPC
11short NoLore
12
13if ( control >= 2 )
14 Return
15endif
16
17if ( GetPCCell "Necrom, Hall of Contemplation" )
18 set control to 2
19endif
20
21; funky mabrigash death effects
22
23if ( controlQ == 0 )
24 set xposi to ( TR_m2_q_18_PackRat->GetPos X )
25 set yposi to ( TR_m2_q_18_PackRat->GetPos Y )
26 set zposi to ( TR_m2_q_18_PackRat->GetPos Z )
27 set zrotposi to ( TR_m2_q_18_PackRat->GetAngle Z )
28 TR_m2_q_18_PackRat->disable
29 SetPos X xposi
30 SetPos Y yposi
31 SetPos Z zposi
32 SetAngle Z zrotposi
33 set controlQ to 1
34endif
35
36if ( TR_Map == 2 )
37 return
38endif
39
40set TR_Map to 2
41
42End