AhniaNote
Tribunal.esm
Variables
1
Local Variables
doonce
Source
1Begin AhniaNote
2
3short doonce
4
5;keep the note out of sight until player is on the quest
6
7if ( doonce == 1 )
8 return
9endif
10
11
12If ( GetJournalIndex "MS_ScrollSales" < 30 )
13 if ( GetDisabled == 0 )
14 Disable
15 endif
16elseif ( GetJournalIndex "MS_ScrollSales" >= 30 )
17 if ( GetDisabled == 1 )
18 Enable
19 endif
20endif
21
22
23;account for possibility that Ahnia may already be dead...
24
25if ( GetDeadCount "Ahnia" == 0 )
26 if ( onactivate == 1 )
27 if ( doonce == 0 )
28 Journal MS_ScrollSales 35
29 "Ahnia"->ForceGreeting
30 set done to 1
31 activate
32 endif
33 endif
34else
35 if ( onactivate == 1 )
36 if ( doonce == 0 )
37 Journal MS_ScrollSales 50
38 set doonce to 1
39 Activate
40 endif
41 endif
42endif
43
44End AhniaNote