The integer to test.
IsBitSetCondition
Inheritance 1 ancestor · 10 siblings
- IScriptCondition
- AndScriptCondition (removed in patch 14.24)
- ComparisonScriptCondition
- CustomTableHasKeyCondition
- EmoteIsCondition
- EntityScriptCondition5
- IsBitSetConditioncurrent
- IsNilCondition
- NotScriptCondition (removed in patch 14.24)
- OrScriptCondition (removed in patch 14.24)
- RandomChanceScriptCondition
- TableValueExistsScriptCondition
Class Documentation
Edit documentationA condition that returns true if bit Position of the
integer BitField is set. Bit 0 is the lowest bit. The condition takes the position
modulo 32, so 32 tests bit 0 again.
The condition does not check its getters for failure. A getter that fails gives 0: a
failing BitField makes the condition return false, and a failing Position tests bit
0. SetBit and ClearBit change single bits of an
integer variable.
Properties
The index of the bit to test, from 0 (lowest) to 31.