Category talk:Conditions

From the Oblivion ConstructionSet Wiki
Revision as of 18:39, 2 January 2007 by imported>Elessar VPR (revert - inappropriate place for question)
Jump to navigation Jump to search

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: create 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_DIFFERENT_ID: Conditionalized as (C AND D)