trusted
5,929
edits
SurtrFan8511 (talk | contribs) m (pls) |
SurtrFan8511 (talk | contribs) m |
||
Line 21: | Line 21: | ||
| 0 0 1 0 0 = in front and behind of target | | 0 0 1 0 0 = in front and behind of target | ||
| 0 1 1 0 0 = directly adjacent to target | | 0 1 1 0 0 = directly adjacent to target | ||
| 1 0 0 0 0 = in front of target | |||
| -1 0 0 0 0 = behind target | |||
<!--add new cases here--> | <!--add new cases here--> | ||
| #default = <!--matching all ranges except center position-->{{#switch:{{#var:range h}} {{#var:range v}} {{#var:range d}} {{#var:range s}} | | #default = <!--matching all ranges except center position-->{{#switch:{{#var:range h}} {{#var:range v}} {{#var:range d}} {{#var:range s}} | ||
| 2 2 1 0 = in a 2-square diamond radius around adjust | | 2 2 1 0 = in a 2-square diamond radius around adjust | ||
| 1 1 1 0 = in a 3x3 area around adjust | | 1 1 1 0 = in a 3x3 area around adjust | ||
| 0 0 0 0 = | | 0 0 0 0 = at adjust | ||
<!--add new cases here--> | <!--add new cases here--> | ||
| #default = <!--math stuff--><!--filled areas-->{{#ifexpr:{{#var:range s}} > 0|in a {{#expr:1 + 2 * {{#var:range h}}}}x{{#expr:1 + 2 * {{#var:range v}}}} area around adjust | | #default = <!--math stuff--><!--filled areas-->{{#ifexpr:{{#var:range s}} > 0|in a {{#expr:1 + 2 * {{#var:range h}}}}x{{#expr:1 + 2 * {{#var:range v}}}} area around adjust |