TR_m3_q_5_Julie_script
TR_Mainland.esm
Variables
11
Local Variables
TR_Map
control
NoLore
nohello
noidle
noattack
noflee
doonce
forcegreet
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m3_q_5_Julie_script
2
3short TR_Map
4short control
5short NoLore
6
7short nohello
8short noidle
9short noattack
10short noflee
11short doonce
12short forcegreet
13short T_Local_NPC
14short T_Local_NoLore
15
16
17if ( GetJournalIndex "TR_m3_Go_Guard2" >= 30 )
18 if ( OnDeath == 1 )
19 Journal "TR_m3_Go_Guard2" 90
20 endif
21 if ( GetDisabled == 1 )
22 If ( GetJournalIndex "TR_m3_Go_Guard2" < 40 )
23 Enable ;she's enabled when meeting her
24 Endif
25 endif
26elseif ( GetDisabled == 0 ) ;and disabled by default
27 Disable
28endif
29
30if ( GetJournalIndex "TR_m3_Go_Guard2" >= 80 )
31 if ( GetJournalIndex "TR_m3_Go_Guard2" != 90 )
32 if ( CellChanged == 1 )
33 if ( DoOnce == 0 )
34 removeitem "p_drain willpower_q" 2
35 removeitem "iron club" 1
36 removeitem "p_drain_speed_q" 1
37 removeitem "p_drain_endurance_q" 1
38 set doonce to 1
39 "TR_m3_Julie"->positioncell, 4261, 4871, 13458, 16620, "Fort Umbermoth, Interior" ;marker TR_m3_MARK_q_5_Julie
40 "TR_m3_Julie"->AiWander 0 0 0 0 0 0 0 0 0 0 0 0
41 endif
42 endif
43 endif
44elseif ( GetJournalIndex "TR_m3_Go_Guard2" == 62 )
45 if ( CellChanged == 1 )
46 disable
47 endif
48elseif ( GetJournalIndex "TR_m3_Go_Guard2" == 50 )
49 if ( CellChanged == 1 )
50 if ( GetPCCell "Seitur, Manus: Trader" == 1 )
51 if ( GetHealth > 0 )
52 stopCombat
53 disable
54 Journal "TR_m3_Go_Guard2" 60
55 Return
56 endif
57 endif
58 elseif ( forcegreet == 0 )
59 if ( GetHealth < 40 )
60 set forcegreet to 1
61 stopCombat
62 setFight 30
63 forceGreeting
64 endif
65 endif
66endif
67
68
69if ( TR_Map == 3 )
70 return
71endif
72
73set TR_Map to 3
74
75End