(One intermediate revision by the same user not shown)
Line 10:
Line 10:
One popular use for this component is disabling meshes that need to be turned on or off in conjunction with other meshes.
One popular use for this component is disabling meshes that need to be turned on or off in conjunction with other meshes.
For example, disabling fur tufts when clothing is enabled by using Active on each clothing item as a Condition and Target being the fur tuft.
For example, disabling fur tufts when clothing is enabled by using Active on each clothing item as a Condition, Mode set to 'None', and Target being Active on the fur tuft.
== Usage ==
== Usage ==
Line 19:
Line 19:
}}
}}
== Behavior ==
== Behavior ==
Mode can be one of:
* All: Logical AND
* Any: Logical OR
* None: Logical NOR
== Examples ==
== Examples ==
Top driven ValueField goes TRUE when the following conditions are meet:
[[File:MultiBoolConditionDriver example1.png|thumb|Example showing normal and inverted inputs.]]Top driven ValueField goes TRUE when the following conditions(Mode: All) are meet.
Condition 0 is TRUE
Condition 0 is TRUE
Line 27:
Line 33:
Condition 2 is FALSE (Due to 'invert' flag.)
Condition 2 is FALSE (Due to 'invert' flag.)
[[File:MultiBoolConditionDriver example1.png|thumb|Example showing normal and inverted inputs.]]
== Related Components ==
== Related Components ==
</translate>
</translate>
Latest revision as of 04:14, 30 September 2025
This article or section is a stub. You can help the Resonite wiki by expanding it.
Component image
MultiBoolConditionDriver component as seen in the Scene Inspector
The MultiBoolConditionDriver drives Target depending on the state of the Conditions list, and the ConditionMode selected.
One popular use for this component is disabling meshes that need to be turned on or off in conjunction with other meshes.
For example, disabling fur tufts when clothing is enabled by using Active on each clothing item as a Condition, Mode set to 'None', and Target being Active on the fur tuft.