[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-wiki-changes] FilterWML
From: |
wiki |
Subject: |
[Wesnoth-wiki-changes] FilterWML |
Date: |
Sat, 23 Oct 2004 16:28 +0200 |
UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040809
Firefox/0.9.3
IP: 168.209.98.35
URI: http://wesnoth.slack.it/?FilterWML
- - - - -
Index: FilterWML
===================================================================
RCS file: /home/wesnoth/cvsroot/wikiroot/FilterWML,v
retrieving revision 1.13
diff -u -r1.13 FilterWML
--- FilterWML 23 Oct 2004 13:15:41 -0000 1.13
+++ FilterWML 23 Oct 2004 14:28:14 -0000
@@ -19,7 +19,8 @@
In order for an event to be triggered, //primary unit// must match the filter
contained in ||[filter]||,
and //secondary unit// must match the filter contained in ||[filter_second]||.
-When a unit filter is applied to a map, first it applies to all units on the
field, based on their coordinates.
+When a unit filter is applied to a map, first it applies to all units on the
field,
+based on their coordinates.
Next it applies to units in the recall list.
This is important to remember as it means, for example,
that the tag ||[kill]|| can be used to kill units in the recall list.
@@ -58,7 +59,8 @@
The following syntax is used to filter over multiple hexes:
Dashes(||-||) are used to have the location be a range of hexes.
-There must be values before and after the dash; everything in between these
numbers (inclusively) is part of the range.
+There must be values before and after the dash;
+everything in between these numbers (inclusively) is part of the range.
Commas(||,||) are used to separate coordinates into a list.
The ||x|| and ||y|| lists are then paired up, with each pair representing one
hex or range.