TR_m2_q_A8_5_Midave_Larys
TR_Mainland.esm
Variables
7
Local Variables
dist
TR_Map
control
NoLore
daycheck0
T_Local_NPC
T_Local_NoLore
Source
1begin TR_m2_q_A8_5_Midave_Larys
2
3short dist
4short TR_Map
5short control
6short NoLore
7short daycheck0 ;used to transfer to the corpse Shamirr_D the date at which it will appear
8short T_Local_NPC
9short T_Local_NoLore
10
11set dist to GetDistance, player
12
13if ( dist <= 200 )
14 SetMarksman, 0
15
16 SetAxe, 75
17 SetShortBlade, 75
18
19elseif ( dist >= 250 )
20 SetMarksman, 70
21
22 SetAxe, 0
23 SetShortblade, 0
24
25endif
26
27if ( TR_Map == 0 )
28 set TR_Map to 2
29endif
30
31if ( GetJournalIndex TR_m2_A8_5_FreeAtLast > 0 )
32 if ( OnDeath == 1 )
33 Journal, TR_m2_A8_5_FreeAtLast, 25
34 endif
35endif
36
37end