The int variable that the block reads and writes.
SetBit
Inheritance 1 ancestor · 45 siblings
- IScriptBlock
- 0x24120f89 (removed in patch 15.10)
- 0x28c595ef (removed in patch 15.13)
- 0x3f934c8f (removed in patch 16.21)
- 0x6b73a615
- 0x7c537128
- 0x92b6b7fa
- 0xc5e16ef4
- 0xeda147c3 (removed in patch 16.21)
- BreakBlock
- CallFunctionBlock (removed in patch 14.12)
- ClearBit
- ConcatenateStringsBlock
- ConceptBlockBase15
- ContinueBlock
- CopyCustomTableBlock
- CreateCustomTableBlock
- CreateFunctionBlock (removed in patch 14.22)
- CustomTableContainsValueBlock
- DebugPrintToChatBlock
- DestroyCustomTableBlock
- EndEventBlock
- EndFunctionBlock (removed in patch 15.13)
- FindInString
- FreeformMathBlock
- GameEntityBlock36
- GetAverageValueInCustomTableBlock
- GetHqBlock (removed in patch 15.2)
- GetKeyValueInCustomTableBlock
- GetRandomFromCustomTableBlock
- GetSizeOfCustomTableBlock
- IAsyncBlock
- IBehaviorScriptBlock5
- IClientBlock4
- IGameScreenClientBlock13
- ILoopScriptBlock10
- IRunFunctionBlock5
- IfConditionBlock
- InsertIntoCustomTableBlock
- LevelScriptBlock25
- RemoveFromCustomTableBlock
- ScriptCommentBlock
- SetBitcurrent
- SetKeyValueInCustomTableBlock
- ShuffleCustomTableBlock
- SortCustomTableBlock
- SwitchScriptBlock (removed in patch 14.24)
Class Documentation
Edit documentationA block that sets one bit of an int variable. The block reads the int in BitField,
sets bit BitIndex (value 1 << BitIndex), and writes the result back to BitField.
ClearBit clears a bit, and IsBitSetCondition tests one.
BitIndex must be 0 to 31. Another value, including a negative value, records a script
error, and the block writes nothing.
Properties
The index of the bit, 0 to 31. It must be set.