Scripts

CharGen_ring_keley

Morrowind.esm Tribunal.esm
Variables 2
Local Variables
state
OnPCAdd
Source
1begin CharGen_ring_keley 2 3;picking up this ring shows you magic menu 4 5short state 6short OnPCAdd 7 8if ( CharGenState == -1 ) 9 return 10endif 11 12if ( menumode == 1 ) 13 return 14endif 15 16if ( state == 30 ) 17 return 18endif 19 20if ( OnPCAdd == 1 ) 21 if ( State == 0 ) 22 EnableMagicMenu 23 MessageBox "You now have a Magic Menu, where you can see all your powers, spells, and magic items." "Ok" 24 set state to 5 25 return 26 endif 27endif 28 29if ( state == 5 ) 30 if ( GetButtonPressed != -1 ) 31 set state to 10 32 endif 33endif 34 35if ( state == 10 ) 36 if ( Xbox == 0 ) 37 MessageBox "Like all menus, right click to use your new menu. Click the spell or magic item you want to make your Active Magic." "Ok" 38 else 39 MessageBox "Like all menus, press B to use your new menu. The triggers cycle between menus. Press B again to exit your menus." "Ok" 40 endif 41 42 set state to 20 43 return 44 45endif 46 47if ( state == 20 ) 48 if ( Xbox == 0 ) 49 MessageBox "Press ^ActionReadyMagic to ready your Active Magic, then click to cast." "Ok" 50 else 51 MessageBox "Press Y to ready your Active Magic, then the RIGHT TRIGGER to cast." "Ok" 52 endif 53 54 set state to 30 55 56endif 57 58 59 60end