Undress
Removes all equipped items from the character to the backpack.
Iterates through all wearable layers (right hand, left hand, shoes, pants, shirt, hat, gloves, ring, neck, waist, torso, bracelet, outer torso, earrings, arms, cloak, robe, skirt, legs) and moves each equipped item to the backpack with a DressSpeed delay between operations.
On client versions 7.7.4+ (client version integer ≥ 7007400), uses the built-in UnequipItemsSetMacro packet instead of iterating layers manually.
Returns True if all items were successfully unequipped. Returns False if the character is disconnected or any item transfer failed.
Снимает все экипированные предметы персонажа в рюкзак.
Перебирает все слои экипировки (правая рука, левая рука, обувь, штаны, рубашка, шлем, перчатки, кольцо, шея, пояс, торс, браслет, внешний торс, серьги, руки, плащ, мантия, юбка, ноги) и перемещает каждый экипированный предмет в рюкзак с задержкой DressSpeed между операциями.
На клиентах версии 7.7.4+ (целочисленная версия ≥ 7007400) используется встроенный пакет UnequipItemsSetMacro вместо ручного перебора слоёв.
Возвращает True, если все предметы успешно сняты. Возвращает False, если персонаж не подключён или перенос какого-либо предмета не удался.
function Undress: Boolean;
def Undress() -> bool: ...
begin
DressSpeed := 650;
if Undress then
AddToSystemJournal('All items removed')
else
AddToSystemJournal('Undress failed');
end.
SetDressSpeed(650)
if Undress():
AddToSystemJournal('All items removed')
else:
AddToSystemJournal('Undress failed')
Disarm, EquipDressSet, SetDress, DressSpeed, UnEquip, Layers