1. #1
    Hp_venomZ's Avatar Senior Member
    Join Date
    Mar 2014
    Posts
    1,008

    Filters??

    Could some one explain me how filters work? i looked up the editor tutorial from redlynxtv but i didnt understand anything of what he said. So please explain me the base of it and an example so i can understand.
    Share this post

  2. #2
    dasraizer's Avatar Senior Member
    Join Date
    Apr 2014
    Location
    UK, Isle of Wight
    Posts
    1,195

    Re: Filters??

    hi

    if "Operand1" is "Greater Than" "Operand2" pass received impulse to true else pass it to false.

    the Generic filter is triggered when it receives an impulse (say from an interval trigger or from any trigger that has the option "Select Event/Filter") and then does a test to check operand1 against operand2 based on the test type, both operand1 and 2 can be linked to data sources or any trigger that can output a number.

    the test types are plain logical tests and are simply as stated, greater, less, equals, greater equals <- this one means if operand1 holds the value 10 or greater and operand2 holds the value 10 it will pass the impulse to true.

    its easy to play with the settings, just put numbers into the operands and set the testing function to see what its doing ,so it basically acts as a switch depending on the test results, you can choose to use both the true and false paths or just one of them, depending on your needs.

    hope i've explained this.
    Share this post

  3. #3
    Share this post

  4. #4
    Jarr3tt88's Avatar Senior Member
    Join Date
    Jan 2013
    Posts
    3,520

    Re: Filters??

    Simple terms.

    First off when using a generic filter always make sure you have an interval trigger (set to 1 tick) going to the generic filter (red arrow). This will check for when your generic filter is true or false. Unless if you want to check that GF once during specific conditions, but keeping it simple, do the interval trigger.

    GF just takes two values and compares them. You can grab numbers from variable datasources, operators, or curved datsoruces. The compare values can be both from those sources, or from one source you set within the GF. Then you need to decide your true and false statement.

    Do you want a countdown timer where when 0 = 0 the game ends? Or do you want to have a certain score passed before allowing the rider to finish the game, say 20 is greater than 15.

    Usually I just do a true statement, 0 = 0 but false will need to be used also once in a while
    Share this post