TR_m4_Bd_Wesencolm_s
TR_Mainland.esm
Variables
6
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
Source
1begin TR_m4_Bd_Wesencolm_s
2
3; Script on NPC TR_m4_Wesencolm for quest TR_m4_Bd_Wesencolm.
4
5short TR_Map
6short control ; Used for TR_m4_Bd_Wesencolm.
7short controlQ
8short NoLore
9short T_Local_NPC
10short T_Local_NoLore
11
12if ( OnDeath )
13 if ( GetJournalIndex TR_m4_Bd_Wesencolm > 0 )
14 if ( GetJournalIndex TR_m4_Bd_Wesencolm < 15 )
15 Journal "TR_m4_Bd_Wesencolm" 15
16 endif
17 endif
18endif
19
20if ( GetJournalIndex TR_m4_Bd_Wesencolm >= 20 )
21 if ( GetSpell "dampworm" )
22 RemoveSpell "dampworm"
23 endif
24 if ( CellChanged )
25 Disable
26 endif
27endif
28
29if ( GetJournalIndex TR_m4_Bd_Wesencolm < 18 )
30 if ( GetSpell "dampworm" == 0 )
31 Journal "TR_m4_Bd_Wesencolm" 18
32 endif
33endif
34
35if ( TR_Map > 0 )
36 return
37endif
38
39set TR_Map to 4
40
41end