FANDOM


filter.Disable

Function
void filter.Disable(string name)
Description
Disables the named filter
V1 Function Name
New to V2

filter.Disable disables the specified filter.

filter.GetNames can be used to determine the available filters and conditions.

For example:

filt = filter.GetNames ()


print ( #filt .. " conditions or filters" )
--
--  disable first filter
--
if #filt >= 1 then
    filter.Disable ( filt [ 1 ] ) 
    print ( "filter \"" 
                .. filt [ 1 ] ..
            "\" disabled" 
          )
end
Community content is available under CC-BY-SA unless otherwise noted.