TR_amuletOrlukhScript
TR_Mainland.esm
Variables
4
Local Variables
button
messageOn
reset
OnPCEquip
Source
1Begin TR_amuletOrlukhScript
2
3short button
4short messageOn
5short reset
6short OnPCEquip
7
8;if ( MenuMode == 1 )
9; Return
10;endif
11
12if ( OnPCEquip == 0 )
13 set reset to 0
14endif
15
16if ( reset == 1 )
17 return
18endif
19
20if ( OnPCEquip == 1 )
21 if ( reset == 0 )
22 if ( VampClan == 101 )
23 if ( PCVampire == 1 )
24 Set OnPCEquip to 0
25 MessageBox "Would you like to return to Anbarsud?" "Yes" "No"
26 set messageOn to 1
27 endif
28 endif
29 endif
30endif
31
32if ( messageOn == 1)
33
34 set button to GetButtonPressed
35
36 if ( button >= 0 )
37 set messageOn to 0
38 endif
39
40 if ( button == 0 )
41 Player->PositionCell 6483.58 -2264.21 22630 268 "Anbarsud, Forge" ; TR_m4_MARK_Orl_player
42 set reset to 1
43
44 elseif ( button == 1 )
45 set reset to 1
46 return
47 endif
48endif
49
50
51End