Skip to content
Søren Granfeldt edited this page Dec 29, 2019 · 2 revisions

ConditionBitIsSet

This condition can be used to check whether a specific bit is 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="ConditionBitIsSet">
  <Description>employeeType must have bit 2 set</Description>
  <BitPosition>1</BitPosition>
  <MVAttribute>employeeType</MVAttribute>
</ConditionBase>

Requires version 1.2.5.7 or later

Clone this wiki locally