Hello, try code like
wManager.Events.MovementEvents.OnMoveToPulse += (point, cancelable) =>
{
if (point.DistanceTo2D(new Vector3(-3077.433, 4942.94, -101.0476)) < 1.5 && !ObjectManager.Me.IsAlive && wManager.Wow.Helpers.Usefuls.ContinentId == (int)wManager.Wow.Enums.ContinentId.Expansion01)
{
var enterdungeon = new Vector3(-3077.433, 4942.94, -101.0476);
point.X = enterdungeon.X;
point.Y = enterdungeon.Y;
point.Z = enterdungeon.Z;
}
};