TR_m3_q_Rils_Grotto_smuggler
TR_Mainland.esm
Variables
4
Local Variables
doOnce
T_Local_NPC
NoLore
TR_Map
Source
1Begin TR_m3_q_Rils_Grotto_smuggler
2
3; Script on NPC TR_m3_O_Sathis for quest TR_m3_Rils_Grotto.
4; enables smuggler in TR_m3_Rils_Grotto quest/forcegreets
5
6short doOnce
7short T_Local_NPC
8short NoLore
9short TR_Map
10
11if ( TR_Map != 3 )
12 set TR_Map to 3
13endif
14
15if ( MenuMode )
16 return
17endif
18
19if ( doOnce == 0 )
20 if ( GetDisabled == 0 )
21 if ( GetDistance Player < 1024 )
22 if ( Player->GetPos Z > 231 )
23 if ( GetHealth > 0 )
24 ForceGreeting
25 StartCombat Player
26 SetFight 100
27 endif
28 set "TR_m3_Rils_AndelFound" to 1
29 if ( GetJournalIndex TR_m3_Rils_Grotto == 10 )
30 Journal TR_m3_Rils_Grotto 20
31 endif
32 Set doOnce to 1
33 endif
34 endif
35 endif
36endif
37
38End