BlzSetItemBooleanField
- Parameters
whichItem itemwhichField itembooleanfieldvalue boolean- comment
- patch
1.31.0.11889
- bug
(tested 2.0.4.23556) Using
BlzSetItemBooleanFieldon one field also sets/clears other boolean fields. It seems that there is a hierarchy. For exampleBlzSetItemBooleanField(it, ITEM_BF_ACTIVELY_USED, true)will also setITEM_BF_CAN_BE_DROPPEDto true. Only checked 5 of the boolean fields, and it seems the hierarchy isITEM_BF_ACTIVELY_USED>ITEM_BF_CAN_BE_DROPPED>ITEM_BF_DROPPED_WHEN_CARRIER_DIES>ITEM_BF_PERISHABLE>ITEM_BF_USE_AUTOMATICALLY_WHEN_ACQUIRED- Source
- common.j (suggest an edit or discuss on Github)
- return type
boolean- Source code
native BlzSetItemBooleanField takes item whichItem, itembooleanfield whichField, boolean value returns boolean