amuletDaedraScript
Morrowind.esm
Variables
5
Local Variables
button
messageOn
reset
OnPcEquip
doneonce
Source
1Begin amuletDaedraScript
2
3short button
4short messageOn
5short reset
6short OnPcEquip
7short doneonce
8
9;if ( MenuMode == 1 )
10; Return
11;endif
12
13if ( doneonce == -1 )
14 return
15endif
16
17if ( OnPCEquip == 0 )
18 set reset to 0
19endif
20
21if ( reset == 1 )
22 return
23endif
24
25if ( OnPCEquip == 1 )
26 if ( reset == 0 )
27 Set OnPCEquip to 0
28 MessageBox "Would you like to travel to Magas Volar?" "Yes" "No"
29 set messageOn to 1
30 endif
31endif
32
33if ( messageOn == 1)
34
35 set button to GetButtonPressed
36
37 if ( button >= 0 )
38 set messageOn to 0
39 endif
40
41 if ( button == 0 )
42 Player->PositionCell, 4003, 4510, 13299, 180, "Magas Volar"
43 set doneonce to -1
44 set reset to 1
45
46 elseif ( button == 1 )
47 set reset to 1
48 return
49 endif
50endif
51
52
53
54End