TR_m4_IL_Raynilscript
TR_Mainland.esm
Variables
5
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
Source
1begin TR_m4_IL_Raynilscript
2
3short TR_Map
4short control
5short controlQ
6short T_Local_NPC
7short NoLore
8
9if ( controlQ == 1 )
10 if ( getdeadcount "TR_m4_Jurgan" >= 1 )
11 if ( getdistance player < 200 )
12 setfight 0
13 stopcombat
14 set controlQ to 2
15 forcegreeting
16 endif
17 endif
18endif
19
20if ( controlQ == 3 )
21 if ( getdistance "TR_m4_Marcius_Arius" < 750 )
22 aiwander 0 0 0
23 journal TR_m4_IL_Agentb 15
24 set controlQ to 4
25 endif
26endif
27
28if ( controlQ == 4 )
29 if ( getjournalindex TR_m4_IL_Agent == 100 )
30 disable
31 endif
32endif
33
34if ( TR_map == 4 )
35 return
36endif
37
38set TR_Map to 4
39
40End