TR_m7_Gethis_RaviroD_scr
TR_Mainland.esm
Variables
6
Local Variables
TR_Map
T_Local_NPC
T_Local_NoLore
nolore
control
controlQ
Source
1Begin TR_m7_Gethis_RaviroD_scr
2
3short TR_Map
4short T_Local_NPC
5short T_Local_NoLore
6short nolore
7short control
8short controlQ
9
10set TR_Map to 7
11
12; disable unless quest is finished by lying
13if ( GetJournalIndex TR_m7_HO_TT_04 != 200 )
14 if ( GetDisabled == 0 )
15 Disable
16 endif
17else
18 if ( GetDisabled == 1 )
19 if ( control != 1 ) ; don't re-enable if disabled by timer
20 Enable
21 endif
22 endif
23endif
24
25; give the player a journal update if they get close.
26; also starts the timer to eventually remove the body so it's not here forever.
27; this does not affect the quest itself in any way
28
29if ( controlQ == 0 )
30 if ( GetDisabled == 0 )
31 if ( GetDistance player <= 150 )
32 journal TR_m7_HO_TT_M 1
33 StartScript TR_m7_HO_TT_04_GethisTimer
34 set controlQ to 1
35 endif
36 endif
37endif
38
39end