StandardSideFilter: Difference between revisions
From The Battle for Wesnoth Wiki
Created page with '{{WML Tags}} From FilterWML, this is the standard way of filtering on sides. The following attributes and sub-tags are permitted: * '''side_in''': filter matches only if si…' |
mNo edit summary |
||
| Line 3: | Line 3: | ||
From [[FilterWML]], this is the standard way of filtering on sides. The following attributes and sub-tags are permitted: | From [[FilterWML]], this is the standard way of filtering on sides. The following attributes and sub-tags are permitted: | ||
* ''' | * '''side''': filter matches only if side number is contained in a comma-separated list. 'all' matches all sides. | ||
* '''[has_unit]''': filter matches only if side controls a unit matched by this [[StandardUnitFilter]] | * '''[has_unit]''': filter matches only if side controls a unit matched by this [[StandardUnitFilter]] | ||
Also, [and], [or], and [not] subfilters are supported. | |||
Revision as of 18:57, 14 April 2011
From FilterWML, this is the standard way of filtering on sides. The following attributes and sub-tags are permitted:
- side: filter matches only if side number is contained in a comma-separated list. 'all' matches all sides.
- [has_unit]: filter matches only if side controls a unit matched by this StandardUnitFilter
Also, [and], [or], and [not] subfilters are supported.
This page was last edited on 14 April 2011, at 18:57.