denegorScript
Tribunal.esm
Variables
4
Local Variables
message
journal
death
nolore
Source
1begin denegorScript
2
3short message
4short journal
5short death
6short nolore
7
8if ( MenuMode == 1 )
9 Return
10endif
11
12if ( GetJournalIndex MS_Bouncer = 0 )
13 return
14endif
15
16
17if ( GetHealth <= 100 )
18 if ( message == 0 )
19 if ( GetDeadCount Hession < 1 )
20 MessageBox "Hession -- Please don't kill anyone! Knock him out if you must, but don't kill him!"
21 set message to 1
22 endif
23 endif
24endif
25
26if ( OnKnockout == 1 )
27 if ( journal == 0 )
28 SetFatigue 0
29 set journal to 1
30 endif
31endif
32
33if ( journal == 1 )
34 if ( GetDeadCount Hession < 1 )
35 Journal "MS_Bouncer" 30
36 set journal to 2
37 endif
38endif
39
40if ( journal >= 1 )
41 if ( CellChanged == 1 )
42 disable
43 endif
44endif
45
46if ( OnDeath == 1 )
47 if ( death == 0 )
48 if ( GetDeadCount Hession < 1 )
49 Journal "MS_Bouncer" 40
50 set death to 1
51 endif
52 set hession.HessDeath to 1
53 endif
54endif
55
56End