WML filter-question: can you filter by race?

Discussion and development of scenarios and campaigns for the game.

Moderator: Forum Moderators

Post Reply
sanna
Posts: 425
Joined: June 5th, 2004, 9:59 am
Location: Halmstad, Sweden

WML filter-question: can you filter by race?

Post by sanna »

In a scenario I'm currently sketching out, I was thinking of introducing an object that can only be used by elves, all elves and no one else but elves.

Is there another way of implementing this filter than actually listing all existing elf-types:type=Elvish Archer,Elvish......?
Dave
Founding Developer
Posts: 7071
Joined: August 17th, 2003, 5:07 am
Location: Seattle
Contact:

Post by Dave »

Yes you can filter by race.

David
“At Gambling, the deadly sin is to mistake bad play for bad luck.” -- Ian Fleming
sanna
Posts: 425
Joined: June 5th, 2004, 9:59 am
Location: Halmstad, Sweden

Post by sanna »

Thank you for quick response.
Dave wrote:Yes you can filter by race.
Would that be:

Code: Select all

[filter]
race=elves
[/filter]
If so, perhaps someone with greater knowledge than me in these matters should add it to the WIKI....
Boucman
Inactive Developer
Posts: 2119
Joined: March 31st, 2004, 1:04 pm

Post by Boucman »

why is that ?

anybody can update the wiki, that's the point of the wiki :wink:
Dacyn
Posts: 1855
Joined: May 1st, 2004, 9:34 am
Location: Texas

Post by Dacyn »

sanna wrote:Would that be:

Code: Select all

[filter]
race=elves
[/filter]
Just realized, it wouldn't.

Code: Select all

race=elf
sanna
Posts: 425
Joined: June 5th, 2004, 9:59 am
Location: Halmstad, Sweden

Post by sanna »

Boucman wrote:why is that ?

anybody can update the wiki, that's the point of the wiki :wink:
I know, I'm just chicken...
Dacyn wrote:

Code: Select all

race=elf
Of course! :oops:
Post Reply