Scripts

amuletQuarraScript

Morrowind.esm
Variables 4
Local Variables
button
messageOn
reset
OnPCEquip
Source
1Begin amuletQuarraScript 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 == 3 ) 23 if ( PCVampire == 1 ) 24 Set OnPCEquip to 0 25 MessageBox "Would you like to return to Druscashti?" "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, 2077.101, -785.586, -752, 270, "Druscashti, Upper Level" 42 set reset to 1 43 44 elseif ( button == 1 ) 45 set reset to 1 46 return 47 endif 48endif 49 50 51End