TR_m1_IL_deadguar
TR_Mainland.esm
Variables
4
Local Variables
State
DoOnce
Button
Disposed
Source
1begin TR_m1_IL_deadguar
2
3short State
4short DoOnce
5short Button
6short Disposed
7
8If ( GetJournalIndex "TR_m1_IL_Fauna2" < 10 )
9 If ( GetDisabled == 0 )
10 Disable
11 EndIf
12Else
13 If ( GetDisabled == 1 )
14 If ( Disposed == 0 )
15 Enable
16 EndIf
17 EndIf
18EndIf
19
20If ( OnActivate )
21 If ( State == 0 )
22 MessageBox "The guar's mutilated body lies at the shore by the tomb.", "Dispose of corpse", "Examine corpse", "Do nothing"
23 Set State to 1
24 EndIf
25EndIf
26
27If ( State == 1 )
28 Set Button to GetButtonPressed
29 If ( Button == -1 )
30 Return
31 ElseIf ( Button == 0 )
32 Disable
33 Set Disposed to 1
34 Set TR_m1_IL_guarstate to 1
35 ElseIf ( Button == 1 )
36 Messagebox "There are marks on the guar's body, as if someone tried to stitch together a wound."
37 Set State to 0
38 Else
39 Set State to 0
40 EndIf
41EndIf
42
43End