#253 (Rylec) Lua functions NPC equip and unequip equipment (weapon and armor slots)

Đã đóng
%! (template.HTML=3 năm trước cách đây)đang mở bởi image · 0 ý kiến

Commands for Entity class only (NPC/Client).

SetEquippedItemByID(Entity, slot, item_id)
SetEquippedItem(Entity, slot, item)
UnequipSlot(Entity, slot, no_delete_item) -- does delete the item upon unequipping by default, otherwise set no_delete_item = true
SetEquipment(Entity, slot, type, r, g, b, h_r, h_g, h_b) -- (r = red, g = green, b = blue, h_ = highlights)
Commands for Entity class only (NPC/Client). ``` SetEquippedItemByID(Entity, slot, item_id) SetEquippedItem(Entity, slot, item) UnequipSlot(Entity, slot, no_delete_item) -- does delete the item upon unequipping by default, otherwise set no_delete_item = true SetEquipment(Entity, slot, type, r, g, b, h_r, h_g, h_b) -- (r = red, g = green, b = blue, h_ = highlights) ```
Đăng nhập để tham gia bình luận.
Đang tải...
Hủy bỏ
Lưu
Ở đây vẫn chưa có nội dung nào.