Home API Manuals About Forum
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

ClearBadLocationList

Clears the list of impassable locations used by the pathfinder.

The list can be populated:

  • Manually via SetBadLocation.
  • Automatically by the Stealth mover — if movement to a point fails 3 consecutive times, the point is marked as impassable.

Locations that have been in the list for more than 15 minutes are automatically removed.

Очищает список непроходимых точек, используемый pathfinder’ом.

Список может заполняться:

  • Вручную через SetBadLocation.
  • Автоматически системой движения Stealth — если перемещение в точку не удалось 3 раза подряд, точка помечается как непроходимая.

Точки, находящиеся в списке более 15 минут, удаляются автоматически.

Pascal

procedure ClearBadLocationList;

Python

def ClearBadLocationList() -> None: ...

Pascal Example

begin
  ClearBadLocationList;
  AddToSystemJournal('Bad locations list cleared');
  MoveXY(1500, 1200, True, 1, True);
end.

Python Example

ClearBadLocationList()
AddToSystemJournal('Bad locations list cleared')
MoveXY(1500, 1200, True, 1, True)

See Also

SetBadLocation, ClearBadObjectList