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

已关闭
image3 年之前创建 · 0 条评论
image 评论于 3 年之前

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) ```
image3 年之前 关闭
登录 并参与到对话中。
正在加载...
取消
保存
这个人很懒,什么都没留下。