Difference between revisions of "Talk:StandardUnitFilter"

From The Battle for Wesnoth Wiki
(Sequence of filtering: discussion begun)
 
(Sequence of filtering: added small tidbit)
 
Line 4: Line 4:
 
: first it applies to all units on the field, based on their coordinates. Next it applies to units in the recall list.
 
: 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.  <br/>
 
I have not yet inspected the code or anything, so I don't know whether this it correct or accurate.  <br/>
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= 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.  [[User:Cannedfood|Cannedfood]] ([[User talk:Cannedfood|talk]]) 02:52, 13 December 2017 (UTC)
+
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.  [[User:Cannedfood|Cannedfood]] ([[User talk:Cannedfood|talk]]) 02:52, 13 December 2017 (UTC)

Latest revision as of 02:55, 13 December 2017

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.