View Single Post
Old 08-07-2008, 11:07 AM   #18 (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

There is only one thing I noticed about your code that personally I would change, but it's nothing major, just Aesthetic. I would change this:

Code:
	public override void OnDoubleClick(Mobile from)
	{
        	
		from.SendMessage( 1172, "Select your Choice...");
		if (from.InRange(GetWorldLocation(), 3))
			from.SendGump(new UmbarianGuildGump(this));
		else
		from.SendLocalizedMessage(500446); // That is too far away. 
	}
to this:

Code:
	public override void OnDoubleClick(Mobile from)
	{
		if (from.InRange(GetWorldLocation(), 3))
		{
			from.SendMessage( 1172, "Select your Choice...");
			from.SendGump(new UmbarianGuildGump(this));
		}

		else
		from.SendLocalizedMessage(500446); // That is too far away. 
	}
otherwise if they are more than 3 tiles away they will recieve duel messages, both too far away and select your choice. Good start, try plugging in the stuff from my above post and see what happens! Good luck.
__________________
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