Thread: About mounts
View Single Post
Old 08-07-2008, 10:15 AM   #4 (permalink)
vermillion2083
Forum Expert
 
vermillion2083's Avatar
 
Join Date: Jun 2005
Location: Lansing, MI
Age: 25
Posts: 1,042
Send a message via ICQ to vermillion2083 Send a message via MSN to vermillion2083
Default

I got bored, here ya go this should work just fine. Add this to your nightmare class:

Code:
		public static void Initialize()
		{
			EventSink.Login += new LoginEventHandler( EventSink_Login );
		}

		private static void EventSink_Login( LoginEventArgs args )
		{
			Mobile m = args.Mobile;
			IMount mt = m.Mount;

			if ( mt != null && mt is Nightmare && m.Skills[SkillName.AnimalLore].Value < 100 )
			{
				m.SendMessage("Place reason for dismounting here");
				mt.Rider = null;
			}
		}
__________________
Father Time
Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "Holy Hell......What a ride!!!"

Server: UO: Extinction
ICQ: 146563794
FatherTime@UOExtinction.com
UO: Extinction homepage
UO: Extinction forum
vermillion2083 is offline   Reply With Quote