Quantcast
Channel: The Battle for Wesnoth Forums
Viewing all articles
Browse latest Browse all 2267

WML Workshop • Re: filter : help_taxonomy

$
0
0
Try to...

Code:

[filter_opponent]            [not]            race=human,elf,orc            [/not]        [/filter_opponent]
You don't need to keep doing the [or] thing. Only if it's a different thing, like: some races and some specific unit types

Code:

[filter_opponent]            [not]            race=human,elf,orc            [or]            type=Troll,Fire Drake,Dwarvish Fighter            [/or]            [/not]        [/filter_opponent]
It is redundant to keep putting the or for the same thing, like...

Code:

{PUT_TO_RECALL_LIST (    side=1            [not]                id=Konrad                [or]                    id=Delfador                [/or]                [or]                    id=Lisar                [/or]          [/not]          )}
Just do this...

Code:

{PUT_TO_RECALL_LIST (    side=1            [not]                id=Konrad,Delfador,Lisar          [/not]          )}

Statistics: Posted by Saizo-Luz — Today, 1:48 pm



Viewing all articles
Browse latest Browse all 2267