Talk:StandardUnitFilter

From The Battle for Wesnoth Wiki

Sequence of filtering

The first paragraph says:

first it applies to all units on the field, based on their coordinates. Next it applies to units in the recall list.

I have not yet inspected the code or anything, so I don't know whether this it correct or accurate.
I do know, however, that it is only relevant if something can occur internally which would prevent it from comparing against the Recall space — and other than use of x= or y= or search_recall_list= to do so. I.e. if it always checked the map but only also checked the Recall if it didn't make any matches on the map. Otherwise, you might as well say what situations there are for which either space — Map or Recall — are unavailable. Cannedfood (talk) 02:52, 13 December 2017 (UTC)

This page was last edited on 13 December 2017, at 02:55.