TR_m1_FG1_Egg2Script
TR_Mainland.esm
Variables
5
Local Variables
TR_Map
T_Local_NPC
moneygave
nolore
control
Source
1Begin TR_m1_FG1_Egg2Script
2
3; Script on NPC TR_m1_Mervis_Ravalen for quest "TR_m1_FG_Egg".
4
5short TR_Map
6short T_Local_NPC
7short moneygave
8short nolore
9short control
10
11If ( OnDeath )
12 If ( control == 0 )
13 Journal TR_m1_FG_Egg 50
14 TR_m1_Ademnal_Lleryn->StopCombat
15 TR_m1_Ademnal_Lleryn->SetFight 0
16 set control to 1
17 Endif
18Endif
19
20if ( CellChanged )
21 If ( GetJournalIndex "TR_m1_FG_Egg" < 20 )
22 if ( GetDisabled == 0 )
23 Disable
24 endif
25 return
26 Elseif ( GetjournalIndex "TR_m1_FG_Egg" >= 70 )
27 if ( GetDisabled == 0 )
28 Disable
29 endif
30 return
31 Elseif ( GetDisabled )
32 Enable
33 Endif
34endif
35
36if ( TR_Map )
37 return
38endif
39
40set TR_Map to 1
41
42End