Difference between revisions of "Category talk:Conditions"
imported>Jduvall (How to conditionalize for: (A AND B) OR (C AND D)) |
imported>Jduvall |
||
Line 10: | Line 10: | ||
Quest Target to Widget: Conditionalized as (A AND B) | Quest Target to Widget: Conditionalized as (A AND B) | ||
Quest Target to Widget: Conditionalized as (C AND D) | Quest Target to Widget: Conditionalized as (C AND D) | ||
This technique works on packages and responses as well: created one duplicate package/response per OR, and then conditionalize them using each AND. | This technique works on packages and responses as well: created one duplicate package/response per OR, and then conditionalize them using each AND. |
Revision as of 15:58, 11 April 2006
How to conditionalize for: (A AND B) OR (C AND D)
Jduvall 16:58, 11 April 2006 (EDT)
You can have multiple quest targets pointing to the same thing, but conditioned differently. This can help you when you need to do more complicated AND OR combinations.
For instance to do a (A AND B) OR (C AND D) break them into two conditions at the OR.
For example you can't put this as a single condition (A AND B) OR (C AND D), because it actually evaluates to (A AND (B OR C) AND D). But you can break them into TWO conditions on seperate but identical quest targets: Quest Target to Widget: Conditionalized as (A AND B) Quest Target to Widget: Conditionalized as (C AND D)
This technique works on packages and responses as well: created one duplicate package/response per OR, and then conditionalize them using each AND. Example: My_Package: Conditionalized as (A AND B) My_Indentical_Package_With_A_ID: Conditionalized as (C AND D)