Abilities: Update of filters

The place to post your WML questions and answers.

Moderator: Forum Moderators

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
Jovycos
Posts: 59
Joined: October 12th, 2007, 4:15 pm
Location: Germany

Abilities: Update of filters

Post by Jovycos »

Hi!

I have noticed that ability/special-filters are updated quite often (by dumping messages from Lua), but when does it exactly happen?

Regards
Last edited by Jovycos on July 25th, 2010, 2:09 pm, edited 1 time in total.
Full of Nerdiness...
Anonymissimus
Inactive Developer
Posts: 2461
Joined: August 15th, 2008, 8:46 pm
Location: Germany

Re: Abilities: Updte of filters

Post by Anonymissimus »

silene wrote:Anyway, a lua filter is executed whenever needed, that is, whenever the engine needs to know if a unit matches a given SUF. (Note: if the engine already knows that a unit cannot satisfy a whole filter, it doesn't even try to run the lua function, since its result won't matter.)
projects (BfW 1.12):
A Simple Campaign: campaign draft for wml startersPlan Your Advancements: mp mod
The Earth's Gut: sp campaignSettlers of Wesnoth: mp scenarioWesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
Jovycos
Posts: 59
Joined: October 12th, 2007, 4:15 pm
Location: Germany

Re: Abilities: Updte of filters

Post by Jovycos »

Thanks…
Full of Nerdiness...
Post Reply