TR_m2_FG_Hermeascript
TR_Mainland.esm
Variables
6
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
doonce
Source
1Begin TR_m2_FG_Hermeascript
2; This short script is there to allow dialogue to be filtered on the TR_Map local variable,
3; also it makes Hermea teleport like a girlboss
4
5short TR_Map
6short control
7short controlQ
8short T_Local_NPC
9short NoLore
10short doonce
11
12if ( TR_map == 0 )
13 set TR_Map to 2
14endif
15
16if ( ondeath == 1 )
17 if ( getjournalindex TR_m2_FG_Hartise_Rethyn > 0 )
18 if ( getjournalindex TR_m2_FG_Hartise_Rethyn < 100 )
19 journal TR_m2_FG_Hartise_Rethyn 70
20 endif
21 endif
22endif
23
24if ( getjournalindex TR_m2_FG_Hartise_Rethyn == 10 )
25 if ( doonce == 0 )
26 positioncell 193368 84387 1342 0 "Dagon Urul Region" ;TR_m2_MARK_Hermea
27 set doonce to 1
28 endif
29endif
30
31if ( getjournalindex TR_m2_FG_Hartise_Rethyn >= 100 )
32 if ( getjournalindex TR_m2_FG_Hartise_Rethyn < 120 )
33 if ( doonce == 1 )
34 if ( CellChanged )
35 set doonce to 2
36 positioncell 5240 3626 15716 0 "Helnim, Guild of Fighters" ;TR_m2_MARK_Hermea
37 endif
38 endif
39 endif
40endif
41
42End