Skip to content

ConditionBitIsNotSet

Søren Granfeldt edited this page Dec 29, 2019 · 1 revision

ConditionBitIsNotSet

This condition can be used to check whether a specific bit is unset (not set) on an integer-type metaverse attribute. The name of the metaverse attribute to check is specified in the MVAttributeName tag (see below) and the bit to check is specified in the BitPosition tag (zero-based).

If the metaverse attribute is not present, the condition is not met and false is returned.

<ConditionBase xsi:type="ConditionBitIsNotSet">
  <Description>employeeType must NOT have bit 2 set</Description>
  <BitPosition>1</BitPosition>
  <MVAttribute>employeeType</MVAttribute>
</ConditionBase>

Requires version 1.2.5.7 or later

Clone this wiki locally