hircine2Script
Bloodmoon.esm
Variables
9
Local Variables
speech
messageOn
button
aspect
posx
posy
posz
posrotz
timer
Source
1Begin hircine2Script
2
3short speech
4short messageOn
5short button
6short aspect
7float posx
8float posy
9float posz
10float posrotz
11float timer
12
13if ( GetDisabled == 1 )
14 if ( speech < 6 )
15 set speech to 6
16 endif
17endif
18
19set posx to ( GetPos X )
20set posy to ( GetPos Y )
21set posz to ( GetPos Z )
22set posrotz to ( GetAngle Z )
23
24if ( speech == 6 )
25 if ( GetJournalIndex BM_WildHunt == 82 )
26 ;if ( player->GetDistance BM_mazegate_03 <= 1200 )
27 if ( GetDistance Player <= 512 )
28 PlaceItem bm_wereeffect posx posy posz posrotz
29 set speech to 7
30 DisablePlayerControls
31 endif
32 endif
33endif
34
35if ( speech == 7 )
36 set timer to ( timer + GetSecondsPassed )
37 if ( timer > 1.2 )
38 Enable
39 set speech to 8
40 set timer to 0
41 endif
42endif
43
44if ( speech == 8 )
45 Say "Vo\Misc\bm_wildhunt3.wav" "So...you are the one. You have escaped my hounds and beaten back the other challengers. I had rather expected the giant to prevail, but no matter. You have proven yourself a worthy hunter, and you have earned the greatest honor that can be bestowed upon a mortal: you are to be my prey."
46 set speech to 9
47elseif ( speech == 9 )
48 if ( SayDone == 1 )
49 Say "Vo\Misc\bm_wildhunt4.wav" "I ask you, though: what is it that makes a hunter great. Is it his strength? The speed with which he strikes? Or is it his guile, the ability to outwit his prey? Answer me, mortal, and decide your fate."
50 set speech to 10
51 Journal BM_WildHunt 85
52 return
53 endif
54elseif ( speech == 10 )
55 if ( SayDone == 1 )
56 MessageBox "What is the hunter's greatest strength?" "Strength" "Speed" "Guile"
57 set messageOn to 1
58 set speech to 11
59 endif
60endif
61
62if ( speech == 11 )
63 if ( messageOn == 1)
64 set button to GetButtonPressed
65 if ( button >= 0 )
66 set messageOn to 0
67 endif
68
69 if ( button == 0 )
70 set aspect to 1
71 Journal BM_WildHunt 87
72 elseif ( button == 1 )
73 set aspect to 2
74 Journal BM_WildHunt 88
75 elseif ( button == 2 )
76 set aspect to 3
77 Journal BM_WildHunt 89
78 endif
79 endif
80endif
81
82if ( speech == 11 )
83 if ( aspect > 0 )
84 set speech to 12
85 endif
86endif
87
88if ( speech == 12 )
89 if ( aspect > 0 )
90 Say "Vo\Misc\bm_wildhunt5.wav" "So you have chosen, and so shall be your fate. To face me in all my glory would be less than sporting, so you shall face but one of my aspects, the one you have chosen. We have little time--the Bloodmoon sinks low in the sky. Prepare yourself, mortal, for now you are the Hunted."
91 set speech to 13
92 endif
93elseif ( speech == 13 )
94 if ( SayDone == 1 )
95 PlaceItem bm_wereeffect posx posy posz posrotz
96 set speech to 14
97 set timer to 0
98 endif
99endif
100
101if ( speech == 14 )
102 set timer to ( timer + GetSecondsPassed )
103 if ( timer > 1.2 )
104 Disable
105 set speech to 15
106 endif
107endif
108
109if ( speech == 15 )
110 EnablePlayerControls
111 if ( aspect == 1 )
112 "bm_hircine_straspect"->Enable
113 set speech to 16
114 elseif ( aspect == 2 )
115 "bm_hircine_spdaspect"->Enable
116 set speech to 16
117 elseif ( aspect == 3 )
118 "bm_hircine_huntaspect"->Enable
119 set speech to 16
120 endif
121endif
122
123
124End hircine2Script