Skip to content

clearAllAvoids

MicroBlaster edited this page Nov 10, 2019 · 2 revisions

Purpose: Removes all sectors from TWX's internal Avoid list, which is used by getCourse, getDistance, getNearestWarps, and getAllCourses.

Syntax: clearAllAvoids

Notes: Since all of TWX's plots use the internal Avoid list, it's a good idea to clear any existing avoids if you do not want them taken into account, or if you are unsure which ones are set. Be aware that these Avoids are independant of the game's Avoids.

Example:

setAvoid $enemySector
getCourse $course CURRENTSECTOR STARDOCK
gosub :mowCourse
clearAllAvoids
Clone this wiki locally