Пользовательские дополнения

На главную


depositeBox.ChangeTypeByItem( inventorySlot )

Попытка модифицировать хранилище указанным предметом из инвентаря.

-- библиотека:
depositeBox

-- объявление:
function ChangeTypeByItem( inventorySlot )

-- параметры:
inventorySlot: number( int ) - индекс слота с предметом в инвентаре [0..]

-- возвращаемые значения:
нет

-- пример:
if depositeBox.IsChangeTypeItem( 0 ) then
 depositeBox.ChangeTypeByItem( 0 )
end

Search: "CategoryLuaApi" "CategoryDepositeBox"

EventDepositeBoxChanged
FunctionDepositeBoxChangeTypeByItem
FunctionDepositeBoxClose
FunctionDepositeBoxGetDepositeBoxItemId
FunctionDepositeBoxGetItemId
FunctionDepositeBoxGetSlotCount
FunctionDepositeBoxIsChangeTypeItem
FunctionDepositeBoxIsInteracting
FunctionDepositeBoxIsItemEnabled
FunctionDepositeBoxIsItemInTransfer
FunctionDepositeBoxIsOpen
FunctionDepositeBoxMove
FunctionDepositeBoxOpenByInteractor
FunctionDepositeBoxOpenByItem
FunctionDepositeBoxPutIn
FunctionDepositeBoxTakeFrom


CategoryLuaApi CategoryFunction CategoryDepositeBox

На главную