Hey,
Could use a little help.
I am trying to check a certain area for playermobiles.
Right now I have this code
The problem is that while it works it also checks way more area than needed and it will cause erratic behaviour.
What I would like some help with is checking a specific region for playermobile or to check specific coordinates.
Thanks for any help you can provide!
Could use a little help.
I am trying to check a certain area for playermobiles.
Right now I have this code
Code:
foreach (Mobile m in from.GetMobilesInRange(40)) // TODO: Validate range
{
if (m is PlayerMobile)
{
from.SendMessage("Please Wait For The Current Team To Finish!");
return;
}
}
What I would like some help with is checking a specific region for playermobile or to check specific coordinates.
Thanks for any help you can provide!